diff options
| -rw-r--r-- | engines/fullpipe/utils.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/fullpipe/utils.cpp b/engines/fullpipe/utils.cpp index 7133b39d7e..ac6b20339d 100644 --- a/engines/fullpipe/utils.cpp +++ b/engines/fullpipe/utils.cpp @@ -507,6 +507,7 @@ char *genFileName(int superId, int sceneId, const char *ext) {  byte *transCyrillic(byte *s) {  	static byte tmp[1024]; +#ifndef WIN32  	static int trans[] = { 0xa8, 0xd081, 0xb8, 0xd191, 0xc0, 0xd090,  		0xc1, 0xd091, 0xc2, 0xd092, 0xc3, 0xd093, 0xc4, 0xd094,  		0xc5, 0xd095, 0xc6, 0xd096, 0xc7, 0xd097, 0xc8, 0xd098, @@ -524,6 +525,7 @@ byte *transCyrillic(byte *s) {  		0xf5, 0xd185, 0xf6, 0xd186, 0xf7, 0xd187, 0xf8, 0xd188,  		0xf9, 0xd189, 0xfa, 0xd18a, 0xfb, 0xd18b, 0xfc, 0xd18c,  		0xfd, 0xd18d, 0xfe, 0xd18e, 0xff, 0xd18f }; +#endif  	int i = 0; @@ -531,7 +533,7 @@ byte *transCyrillic(byte *s) {  #ifdef WIN32  		// translate from cp1251 to cp866  		byte c = *p; -		if (c >= 0xC0 && c <= 0xEF) +		if (c >= 0xC0)  			c = c - 0xC0 + 0x80;  		else if (c >= 0xF0 && c <= 0xFF)  			c = c - 0xF0 + 0xE0;  | 
