factory.c: remove static selected_file[] string buffer

This commit is contained in:
Thomas Bernard
2019-02-20 11:08:13 +01:00
parent 05175292a6
commit b5d61472e5
3 changed files with 36 additions and 9 deletions

View File

@@ -1462,6 +1462,8 @@ short Find_file_in_fileselector(T_Fileselector *list, const char * fname)
short index;
short close_match = -1;
if (fname == NULL)
return -1;
index=0;
for (item=list->First; item!=NULL; item=item->Next)
{