From 07782be14d840a026684e0f48e4eef0385048bd6 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Sun, 16 Sep 2001 20:36:15 +0000 Subject: [PATCH] Xlatlocalset warning fixed --- golded3/gccfgg8.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/gccfgg8.cpp b/golded3/gccfgg8.cpp index 0990316..569e763 100644 --- a/golded3/gccfgg8.cpp +++ b/golded3/gccfgg8.cpp @@ -536,7 +536,7 @@ void CfgXlatimport() { void CfgXlatlocalset() { strupr(strxcpy(CFG->xlatlocalset, val, sizeof(CFG->xlatlocalset))); - if(strieql(CFG->xlatlocalset, "IBMPC") or strieql(CFG->xlatlocalset, "+7_FIDO")) { + if(CFG->usecharset and (strieql(CFG->xlatlocalset, "IBMPC") or strieql(CFG->xlatlocalset, "+7_FIDO"))) { std::cout << "* Warning: Charset " << CFG->xlatlocalset << " is obsolete. Consider using CPxxx form." << std::endl; cfgerrors++; }