|
|
| version 1.5, 2005/02/09 20:11:34 | version 1.6, 2005/02/12 12:13:57 |
|---|---|
| Line 150 const UINT8 *p; | Line 150 const UINT8 *p; |
| while(from < to) { | while(from < to) { |
| work[0] = (char)from; | work[0] = (char)from; |
| #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) | #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) |
| oemtext_sjis2oem(oemwork, NELEMENTS(oemwork), work, -1); | oemtext_sjistooem(oemwork, NELEMENTS(oemwork), work, -1); |
| dat = fontmng_get(fnt, oemwork); | dat = fontmng_get(fnt, oemwork); |
| #else | #else |
| dat = fontmng_get(fnt, work); | dat = fontmng_get(fnt, work); |
| Line 225 const UINT8 *p; | Line 225 const UINT8 *p; |
| work[0] = (UINT8)(sjis >> 8); | work[0] = (UINT8)(sjis >> 8); |
| work[1] = (UINT8)sjis; | work[1] = (UINT8)sjis; |
| #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) | #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) |
| oemtext_sjis2oem(oemwork, NELEMENTS(oemwork), work, -1); | oemtext_sjistooem(oemwork, NELEMENTS(oemwork), work, -1); |
| dat = fontmng_get(fnt, oemwork); | dat = fontmng_get(fnt, oemwork); |
| #else | #else |
| dat = fontmng_get(fnt, work); | dat = fontmng_get(fnt, work); |