Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/vtterm.c

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

revision 6520 by doda, Tue Nov 1 06:01:15 2016 UTC revision 6521 by doda, Tue Nov 1 06:01:18 2016 UTC
# Line 5313  BOOL ParseFirstUTF8(BYTE b, int proc_com Line 5313  BOOL ParseFirstUTF8(BYTE b, int proc_com
5313          static int first_code_index;          static int first_code_index;
5314    
5315          unsigned int code;          unsigned int code;
         char mbchar[32];  
5316          unsigned short cset;          unsigned short cset;
5317    
5318          if ((b & 0x80) != 0x80 || ((b & 0xe0) == 0x80 && count == 0)) {          if ((b & 0x80) != 0x80 || ((b & 0xe0) == 0x80 && count == 0)) {
# Line 5340  BOOL ParseFirstUTF8(BYTE b, int proc_com Line 5339  BOOL ParseFirstUTF8(BYTE b, int proc_com
5339                  return TRUE;                  return TRUE;
5340          }          }
5341    
         memset(mbchar, 0, sizeof(mbchar));  
   
5342          // 2バイトコードの場合          // 2バイトコードの場合
5343          if ((buf[0] & 0xe0) == 0xc0) {          if ((buf[0] & 0xe0) == 0xc0) {
5344                  if ((buf[1] & 0xc0) == 0x80) {                  if ((buf[1] & 0xc0) == 0x80) {

Legend:
Removed from v.6520  
changed lines
  Added in v.6521

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