forked from KolibriOS/kolibrios
drvinst: small bug fixed
git-svn-id: svn://kolibrios.org@9887 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
603c738c43
commit
3e0d321fe1
@ -163,12 +163,12 @@ void SelectList_DrawLine(dword i)
|
|||||||
if (select_list.cur_y-select_list.first==i)
|
if (select_list.cur_y-select_list.first==i)
|
||||||
{
|
{
|
||||||
DrawBar(select_list.x, yyy, select_list.w, select_list.item_h, sc.button);
|
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
|
else
|
||||||
{
|
{
|
||||||
DrawBar(select_list.x,yyy,select_list.w, select_list.item_h, 0xFFFfff);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ void EventIconClick(dword appid)
|
|||||||
strcpy(#run_app_path, "/kolibrios/");
|
strcpy(#run_app_path, "/kolibrios/");
|
||||||
app_path+=3;
|
app_path+=3;
|
||||||
}
|
}
|
||||||
else if (!strncmp(app_path, "/kg/",3)) {
|
else if (!strncmp(app_path, "/kg/",4)) {
|
||||||
strcpy(#run_app_path, "/kolibrios/games/");
|
strcpy(#run_app_path, "/kolibrios/games/");
|
||||||
app_path+=4;
|
app_path+=4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user