* Brush factory: Drive entries in fileselector don't have an icon on some platforms
* File selector: remove BeOS quirk for getting home directory (the OS was fixed), and try to guess the drive type for UNIX OSes (untested) Fixes #492. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2015 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -1541,8 +1541,11 @@ void Draw_script_name(word x, word y, word index, byte highlighted)
|
||||
fg=(highlighted)?MC_Light:MC_Dark;
|
||||
bg=(highlighted)?MC_Dark:MC_Black;
|
||||
|
||||
Window_display_icon_sprite(x,y,current_item->Icon);
|
||||
x+=8;
|
||||
if (current_item->Icon != ICON_NONE)
|
||||
{
|
||||
Window_display_icon_sprite(x,y,current_item->Icon);
|
||||
x+=8;
|
||||
}
|
||||
}
|
||||
|
||||
Print_in_window(x, y, current_item->Short_name, fg,bg);
|
||||
|
||||
Reference in New Issue
Block a user