Only use *lang if not Windows.

This commit is contained in:
Steve 2018-04-21 18:38:39 +01:00
parent 5b6dfecebb
commit 103aa91165
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,10 @@ static HashTable table;
void setLanguage(char *applicationName, char *languageCode)
{
char language[MAX_LINE_LENGTH], c[MAX_LINE_LENGTH];
char *lang, **key, **value;
char **key, **value;
#ifndef _WIN32
char *lang;
#endif
int i, swap;
FILE *fp;
MOHeader header;