|
|
| version 1.10, 2005/03/20 13:12:49 | version 1.11, 2007/12/28 20:36:40 |
|---|---|
| Line 243 static OEMCHAR *sstpsolve(OEMCHAR *buf, | Line 243 static OEMCHAR *sstpsolve(OEMCHAR *buf, |
| #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) | #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) |
| sjis[0] = c2; | sjis[0] = c2; |
| sjis[1] = '\0'; | sjis[1] = '\0'; |
| oemtext_sjistooem(buf, 4, sjis, 1); | buf += oemtext_sjistooem(buf, 4, sjis, 1); |
| buf += OEMSTRLEN(buf); | |
| #else | #else |
| *buf++ = c2; | *buf++ = c2; |
| #endif | #endif |
| Line 276 static OEMCHAR *sstpsolve(OEMCHAR *buf, | Line 275 static OEMCHAR *sstpsolve(OEMCHAR *buf, |
| sjis[0] = (UINT8)0x82; | sjis[0] = (UINT8)0x82; |
| sjis[1] = prs2[c-0xa0]; | sjis[1] = prs2[c-0xa0]; |
| sjis[2] = '\0'; | sjis[2] = '\0'; |
| oemtext_sjistooem(buf, 4, sjis, 2); | buf += oemtext_sjistooem(buf, 4, sjis, 2); |
| buf += OEMSTRLEN(buf); | |
| #else | #else |
| buf[0] = (UINT8)0x82; | buf[0] = (UINT8)0x82; |
| buf[1] = prs2[c-0xa0]; | buf[1] = prs2[c-0xa0]; |
| Line 292 static OEMCHAR *sstpsolve(OEMCHAR *buf, | Line 290 static OEMCHAR *sstpsolve(OEMCHAR *buf, |
| sjis[0] = c; | sjis[0] = c; |
| sjis[1] = c2; | sjis[1] = c2; |
| sjis[2] = '\0'; | sjis[2] = '\0'; |
| oemtext_sjistooem(buf, 4, sjis, 2); | buf += oemtext_sjistooem(buf, 4, sjis, 2); |
| buf += OEMSTRLEN(buf); | |
| #else | #else |
| buf[0] = c; | buf[0] = c; |
| buf[1] = c2; | buf[1] = c2; |