diff options
author | kwolekr <kwolekr@minetest.net> | 2015-10-24 13:31:42 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-10-24 13:34:49 -0400 |
commit | 2d207afe8e12f00b5a1276a678e2402c3c4c7961 (patch) | |
tree | dbfad19b963b3cd23bee68e8f8aec363735d2ad3 /src/main.cpp | |
parent | 127b9aed09d2b807f75495137ef1a07ca53c518b (diff) | |
download | minetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.tar.gz minetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.tar.bz2 minetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.zip |
Fix compilation under MSVC and remove unnecessary conditional function prototype
Thanks to SmallJoker for pointing this out.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index d5fcae2f7..1538c15d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } |