equal
deleted
inserted
replaced
338 |
338 |
339 void CSDCInput::RawRead() |
339 void CSDCInput::RawRead() |
340 { |
340 { |
341 if( iUnicode ) |
341 if( iUnicode ) |
342 { |
342 { |
|
343 #if (defined(__MSVCRT__) || defined(_MSC_VER)) |
343 iNextChar = fgetwc( iFile ); |
344 iNextChar = fgetwc( iFile ); |
|
345 #else |
|
346 /* to make it work under linux */ |
|
347 char c1 = fgetc(iFile); |
|
348 char c2 = fgetc(iFile); |
|
349 |
|
350 iNextChar = c1 | (c2 << 8); |
|
351 #endif |
344 } |
352 } |
345 else |
353 else |
346 { |
354 { |
347 int ch = fgetc( iFile ); |
355 int ch = fgetc( iFile ); |
348 if( ch == EOF ) |
356 if( ch == EOF ) |