diff options
Diffstat (limited to 'tools/dbtool/modulechain.cpp')
-rw-r--r-- | tools/dbtool/modulechain.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/dbtool/modulechain.cpp b/tools/dbtool/modulechain.cpp index 515ec9bfbd..ffa7680dbb 100644 --- a/tools/dbtool/modulechain.cpp +++ b/tools/dbtool/modulechain.cpp @@ -98,13 +98,11 @@ int WorkModuleChain(int firstTime) }
if (n) {
TCHAR *pszModuleName;
-#ifdef UNICODE
+
TCHAR szModuleName[257];
MultiByteToWideChar(CP_ACP, 0, modChain[iCurrentModName].name, -1, szModuleName, sizeof(szModuleName) / sizeof(TCHAR));
pszModuleName = szModuleName;
-#else
- pszModuleName = modChain[iCurrentModName].name;
-#endif
+
AddToStatus(STATUS_WARNING,TranslateT("Module name '%s' is not unique: %d duplicates found)"), pszModuleName, n);
}
}
|