SOFTWARE CENTER v2.31: fix bug

git-svn-id: svn://kolibrios.org@5430 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-02-19 17:29:14 +00:00
parent e049fba4fc
commit 8442ffe6a1

View File

@ -1,5 +1,5 @@
/* /*
SOFTWARE CENTER v2.3 SOFTWARE CENTER v2.31
*/ */
#define MEMSIZE 0x3E80 #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, ""); RunProgram(key_value, "");
} }
current_item_id++; current_item_id++;
if (strncmp(key_value, "/kolibrios/", 11)==0) && (!kolibrios_mounted) current_item_id--;
return 1; return 1;
} }