diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h index 2956dfda..b3cdd975 100644 --- a/OpenFilesScreen.h +++ b/OpenFilesScreen.h @@ -13,14 +13,18 @@ in the source distribution for its full text. #include "Panel.h" #include "FunctionBar.h" -typedef struct OpenFiles_ProcessData_ { - struct OpenFiles_FileData_* files; - int error; +typedef struct OpenFiles_Data_ { char* data[256]; +} OpenFiles_Data; + +typedef struct OpenFiles_ProcessData_ { + OpenFiles_Data data; + int error; + struct OpenFiles_FileData_* files; } OpenFiles_ProcessData; typedef struct OpenFiles_FileData_ { - char* data[256]; + OpenFiles_Data data; struct OpenFiles_FileData_* next; } OpenFiles_FileData;