drvinst: small bug fixed

git-svn-id: svn://kolibrios.org@9887 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom 2022-12-25 10:16:09 +00:00
parent 603c738c43
commit 3e0d321fe1
2 changed files with 18 additions and 18 deletions

View File

@ -163,12 +163,12 @@ void SelectList_DrawLine(dword i)
if (select_list.cur_y-select_list.first==i)
{
DrawBar(select_list.x, yyy, select_list.w, select_list.item_h, sc.button);
WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,sc.button_text, ini_sections.get(i));
WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,sc.button_text, ini_sections.get(i+select_list.first));
}
else
{
DrawBar(select_list.x,yyy,select_list.w, select_list.item_h, 0xFFFfff);
WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,0, ini_sections.get(i));
WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,0, ini_sections.get(i+select_list.first));
}
}

View File

@ -253,7 +253,7 @@ void EventIconClick(dword appid)
strcpy(#run_app_path, "/kolibrios/");
app_path+=3;
}
else if (!strncmp(app_path, "/kg/",3)) {
else if (!strncmp(app_path, "/kg/",4)) {
strcpy(#run_app_path, "/kolibrios/games/");
app_path+=4;
}