compilation fixes for atari port

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1711 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
nokturnal 2011-02-07 13:37:12 +00:00
parent d0aaabf6b2
commit fdb925979e
2 changed files with 4 additions and 2 deletions

View File

@ -442,7 +442,7 @@ void Read_list_of_files(T_Fileselector *list, byte selected_format)
} }
if(!bFound){ if(!bFound){
Add_element_to_list(list, "..",1); // add if not present Add_element_to_list(list, "..",1,Format_filename("/",19,1),ICON_NONE); // add if not present
list->Nb_directories ++; list->Nb_directories ++;
} }
@ -561,7 +561,7 @@ void Read_list_of_drives(T_Fileselector *list)
if ( (1 << bit_index) & drive_bits ) if ( (1 << bit_index) & drive_bits )
{ {
drive_name[0]='A'+bit_index; drive_name[0]='A'+bit_index;
Add_element_to_list(list, drive_name,2); Add_element_to_list(list, drive_name,Format_filename(drive_name,19,2),2,ICON_NONE);
list->Nb_directories++; list->Nb_directories++;
drive_index++; drive_index++;
} }

View File

@ -153,3 +153,5 @@ void Set_config_directory(const char * program_dir, char * config_dir);
#else #else
#define SKIN_PREFIX "skin_" #define SKIN_PREFIX "skin_"
#endif #endif