From 7ba9ba96b48d0fd714e919dc99a11e5e67b0caa9 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 7 Aug 2015 15:12:03 +0000 Subject: [PATCH] Eolite: fix scroll git-svn-id: svn://kolibrios.org@5695 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 8 +++++--- programs/cmm/eolite/include/gui.h | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 15fdfa4ee2..2f4b5132da 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -141,6 +141,8 @@ byte dword eolite_ini_path; +char scroll_used=0; + dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak; proc_info Form; @@ -176,7 +178,7 @@ byte cmd_free=0; void main() { word key, id; - char can_show, can_select, scroll_used, stats; + char can_show, can_select, stats; dword selected_offset; dword IPC_LEN,IPC_ID; char IPC_BUF[10]; @@ -325,8 +327,8 @@ void main() } //Scrooll - if (!mouse.lkm) && (scroll_used) { scroll_used=NULL; Scroll(); } - if (mouse.x>=Form.width-26) && (mouse.x<=Form.width-6) && (mouse.y>56) && (mouse.y=Form.width-26) && (mouse.x<=Form.width-6) && (mouse.y>56) && (mouse.y