#endif
/******************************************************************************/
-#ifdef _MSC_VER
void init_gettext(const char *path, const std::string &configured_language,
- int argc, const char *argv[])
-#else
-void init_gettext(const char *path, const std::string &configured_language)
-#endif
+ int argc, char *argv[])
{
#if USE_GETTEXT
// First, try to set user override environment
// Allow calling without an extension
std::string app_name = argv[0];
- if (app_name.compare(appname.size() - 4, 4, ".exe") != 0)
+ if (app_name.compare(app_name.size() - 4, 4, ".exe") != 0)
app_name += ".exe";
STARTUPINFO startup_info = {0};
infostream << "Message locale is now set to: "
<< setlocale(LC_ALL, 0) << std::endl;
}
-