From f441b6c9b058d60f713d87a7eb07c74b0bff656f Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 15 Sep 2018 12:47:34 +0000 Subject: [PATCH] mousecfg: small code update git-svn-id: svn://kolibrios.org@7372 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/mousecfg/mousecfg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/cmm/mousecfg/mousecfg.c b/programs/cmm/mousecfg/mousecfg.c index c3b645e41..ffe8a2df1 100644 --- a/programs/cmm/mousecfg/mousecfg.c +++ b/programs/cmm/mousecfg/mousecfg.c @@ -1,4 +1,4 @@ -// Mouse Configuration Utility ver 1.5 +// Mouse Configuration Utility ver 1.51 #ifndef AUTOBUILD #include "lang.h--" @@ -80,18 +80,18 @@ void main() { case evButton: id = GetButtonID(); - if (id == 1) ExitApp(); + if (1 == id) ExitApp(); else if (pointer_speed.click(id)) ApplyCfg(); else if (acceleration.click(id)) ApplyCfg(); else if (double_click_delay.click(id)) ApplyCfg(); else if (emulation.click(id)) { if (emulation.checked == true) RunProgram("/sys/mousemul", 0); - else KillProcessByName("mousemul", SINGLE); + else KillProcessByName("/sys/mousemul", SINGLE); break; } else if (madmouse.click(id)) { if (madmouse.checked == true) RunProgram("/sys/madmouse", 0); - else KillProcessByName("madmouse", SINGLE); + else KillProcessByName("/sys/madmouse", SINGLE); break; } break;