From 9feb5213741522aeb2a8420a5fb5bc553911dda6 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 10 Sep 2018 14:07:29 +0000 Subject: [PATCH] trying to fix LANG 2 git-svn-id: svn://kolibrios.org@7338 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/kosilka/Tupfile.lua | 2 +- programs/games/kosilka/kosilka.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/programs/games/kosilka/Tupfile.lua b/programs/games/kosilka/Tupfile.lua index 1537e945f6..05053f22b5 100644 --- a/programs/games/kosilka/Tupfile.lua +++ b/programs/games/kosilka/Tupfile.lua @@ -5,5 +5,5 @@ if tup.getconfig("LANG") == "ru" then CFLAGS = CFLAGS .. " /DLANG=RUS" else CFLAGS = CFLAGS .. " /DLANG=ENG" end -compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} +compile_msvc{"*.cpp"} link_msvc("kosilka") diff --git a/programs/games/kosilka/kosilka.cpp b/programs/games/kosilka/kosilka.cpp index 81242aef41..c7b987fe55 100644 --- a/programs/games/kosilka/kosilka.cpp +++ b/programs/games/kosilka/kosilka.cpp @@ -28,6 +28,8 @@ int read_result=0; bool skin_available=false; bool w_redraw=true; +#define LANG ENG + #if LANG == RUS const char windowTitle[] = "Косилка для Колибри"; const char version[] = "Версия 1.16";