From 8442ffe6a132b1a738151c03ba556d7fb484eeab Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 19 Feb 2015 17:29:14 +0000 Subject: [PATCH] SOFTWARE CENTER v2.31: fix bug git-svn-id: svn://kolibrios.org@5430 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/software_widget/software_widget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/cmm/software_widget/software_widget.c b/programs/cmm/software_widget/software_widget.c index 128c2bafa1..2a142938a2 100644 --- a/programs/cmm/software_widget/software_widget.c +++ b/programs/cmm/software_widget/software_widget.c @@ -1,5 +1,5 @@ /* -SOFTWARE CENTER v2.3 +SOFTWARE CENTER v2.31 */ #define MEMSIZE 0x3E80 @@ -125,6 +125,7 @@ byte search_for_id_need_to_run(dword key_value, key_name, sec_name, f_name) RunProgram(key_value, ""); } current_item_id++; + if (strncmp(key_value, "/kolibrios/", 11)==0) && (!kolibrios_mounted) current_item_id--; return 1; }