2.5 filebrowser

small fix for selection of bookmarks/favorite folders
This commit is contained in:
2009-02-01 13:52:11 +00:00
parent 3783d7fcbb
commit dafc620a75
4 changed files with 12 additions and 7 deletions

View File

@@ -280,7 +280,7 @@ void fsmenu_read_file(const char *filename)
}
#endif
fp = fopen(filename, "w");
fp = fopen(filename, "r");
if (!fp) return;
while ( fgets ( line, 256, fp ) != NULL ) /* read a line */