Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/mty-makai/mty.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24 by chapuni, Sat Mar 17 12:11:18 2007 UTC revision 25 by chapuni, Sat Mar 17 12:20:48 2007 UTC
# Line 305  key_make_map(int n) Line 305  key_make_map(int n)
305    
306    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
307          {          {
308            unsigned bs = 0, bm = 0;            unsigned bm = 0;
309  #if 1  #if 1
310            if (c & KCLS_K1)            if (c & KCLS_K1)
311                  {                  {
# Line 536  key_inc(int n) Line 536  key_inc(int n)
536    else if (n == 7)    else if (n == 7)
537          {          {
538            /* 最後のバイト */            /* 最後のバイト */
539            if (N_STRIDE == 7)            key[7] = (key[7] + (1 << N_STRIDE)) & 0x7F;
                 return 0;  
   
           key[7] = (key[7] + 64) & 127;  
540            if (key[7]) return 1;            if (key[7]) return 1;
541            else return 0;            else return 0;
542          }          }

Legend:
Removed from v.24  
changed lines
  Added in v.25

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26