From ffb9d09ce68daaa241ace86147ac02daa360fd9f Mon Sep 17 00:00:00 2001 From: igevorse Date: Wed, 31 Dec 2014 12:40:29 +0000 Subject: [PATCH] '21 days' game: interface bug fixed, adding to the main menu git-svn-id: svn://kolibrios.org@5323 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/rus/settings/menu.dat | 1 + programs/games/21days/interface.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/rus/settings/menu.dat b/data/rus/settings/menu.dat index 5e25d21886..f0ff269744 100644 --- a/data/rus/settings/menu.dat +++ b/data/rus/settings/menu.dat @@ -15,6 +15,7 @@ #1 **** Игры **** Логические > /@2 Аркады > /@3 +21 days /KolibriOS/games/21days/21days RockeT ForceS /sys/games/rforces Трубопровод /sys/games/pipes Memory Blocks /sys/games/mblocks diff --git a/programs/games/21days/interface.cpp b/programs/games/21days/interface.cpp index ae32bc58de..1e3463ddf0 100755 --- a/programs/games/21days/interface.cpp +++ b/programs/games/21days/interface.cpp @@ -220,14 +220,14 @@ void drawWindow(string content, const char* title, string topline , string botto int winWidth, winHeight; getWinWH(winWidth, winHeight); -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_KOS32) int deltaX = 0; #else int deltaX = 1; #endif // Total lines -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_KOS32) int lines = 0; #else int lines = 1;