mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix compilation under MSVC and remove unnecessary conditional function prototype
Thanks to SmallJoker for pointing this out.
This commit is contained in:
parent
127b9aed09
commit
2d207afe8e
3 changed files with 2 additions and 15 deletions
|
@ -450,13 +450,8 @@ static bool init_common(const Settings &cmd_args, int argc, char *argv[])
|
|||
// Initialize HTTP fetcher
|
||||
httpfetch_init(g_settings->getS32("curl_parallel_limit"));
|
||||
|
||||
#ifdef _MSC_VER
|
||||
init_gettext(porting::path_locale.c_str(),
|
||||
g_settings->get("language"), argc, argv);
|
||||
#else
|
||||
init_gettext(porting::path_locale.c_str(),
|
||||
g_settings->get("language"));
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue