equal
deleted
inserted
replaced
888 #if !defined(UNICODE) |
888 #if !defined(UNICODE) |
889 _codepage = GetACP(); // get system codepage as some kind of a default |
889 _codepage = GetACP(); // get system codepage as some kind of a default |
890 #endif /* UNICODE */ |
890 #endif /* UNICODE */ |
891 |
891 |
892 #if defined(UNICODE) |
892 #if defined(UNICODE) |
|
893 /* Check if a win9x user started the win32 version */ |
|
894 if (HASBIT(GetVersion(), 31)) error("This version of OpenTTD doesn't run on windows 95/98/ME.\nPlease download the win9x binary and try again."); |
|
895 |
893 /* For UNICODE we need to convert the commandline to char* _AND_ |
896 /* For UNICODE we need to convert the commandline to char* _AND_ |
894 * save it because argv[] points into this buffer and thus needs to |
897 * save it because argv[] points into this buffer and thus needs to |
895 * be available between subsequent calls to FS2OTTD() */ |
898 * be available between subsequent calls to FS2OTTD() */ |
896 char cmdlinebuf[MAX_PATH]; |
899 char cmdlinebuf[MAX_PATH]; |
897 #endif /* UNICODE */ |
900 #endif /* UNICODE */ |