diff --git a/programs/games/mine/trunk/changelog.txt b/programs/games/mine/trunk/changelog.txt
index 0a3acaf2d8..512f9f1688 100644
--- a/programs/games/mine/trunk/changelog.txt
+++ b/programs/games/mine/trunk/changelog.txt
@@ -1,5 +1,8 @@
 ====Leency====
 
+v0.52 (16/12/2008)
+- window rolling up fix
+
 v0.51 (16/12/2008)
 - fixed one small bug with changing window mode
 
diff --git a/programs/games/mine/trunk/draw.h-- b/programs/games/mine/trunk/draw.h--
index 0277a70d6a..09270bccae 100644
--- a/programs/games/mine/trunk/draw.h--
+++ b/programs/games/mine/trunk/draw.h--
@@ -21,13 +21,18 @@
 
 void draw_window() // ��������� ��������� ����
 {
-  sys_window_redraw(1);
   sys_get_colors(#colors, 40);
 
   // WINDOW
+  sys_window_redraw(1);
   EBX = xpos << 16 + xsize;
   ECX = ypos << 16 + ysize;
   sys_draw_window(EBX, ECX, 0x14CCCCCC, colors.w_grab | 0x80000000, "MineSweeper");
+  sys_window_redraw(2);
+  
+  // Leency ROLLED UP FIX
+  sys_process_info(#procinfo, -1);
+  IF (procinfo.ysize<70) return;  
 
    // <NEW GAME> BUTTON (911)
   EBX = xsize / 2 - 10;
@@ -43,8 +48,6 @@ void draw_window() // 
   draw_time();     // draw timer
   draw_minesi();   // draw mines
   draw_squares();  // draw field
-
-  sys_window_redraw(2);
 }
 
 dword num_colors[8]=
diff --git a/programs/games/mine/trunk/mine.c-- b/programs/games/mine/trunk/mine.c--
index 2ca9c15116..038e7eac13 100644
--- a/programs/games/mine/trunk/mine.c--
+++ b/programs/games/mine/trunk/mine.c--
@@ -1,6 +1,6 @@
 /*******************************************************************************
 
-    MenuetOS MineSweeper
+    KolibriOS MineSweeper
     Copyright (C) 2003, 2004  Ivan Poddubny
 
     This program is free software; you can redistribute it and/or modify
@@ -22,11 +22,12 @@
 //? pragma option LST    // generate ASM listing file - ������� ������������ �������
 ? warning    TRUE      // �������� ����� ������ ��������������
 ? jumptomain NONE
-? include "kos_sys.h--"     // MenuetOS system functions - ��������� ������� MenuetOS
+? include "kos_sys.h--"     // KolibriOS system functions - ��������� ������� KolibriOS
 //? define DEBUG 1
 
 ? print "\n����������������������������������������������Ŀ"
-? print "\n�          MenuetOS MineSweeper v0.4           �"
+? print "\n�          KolibriOS MineSweeper v0.52         �"
+? print "\n� (C)   Leency  (leency@mail.ru)     2010,2011 �"
 ? print "\n� (C) Ivan Poddubny (ivan-yar@bk.ru) 2003,2004 �"
 ? print "\n������������������������������������������������\n\n"
 
@@ -72,7 +73,7 @@ dword xpos = 100,    // window coordinates      - 
 
 byte stop_game = FALSE,   // game stopped - ������� ����� ����
      mouse_en = TRUE,     // mouse enabled   - ����
-     mode = 3,            // ����� ���� 1-������� 2-�������� 3-������� (0 ������)
+     mode = 2,            // ����� ���� 1-������� 2-�������� 3-������� (0 ������)
      mouse_status,
      firstmine;