From 2ee1c4127419e558cd68c231b019f28aa8839e5e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 22 Apr 2014 18:48:15 -0300 Subject: [PATCH] Add .h file ref previous commit --- OpenFilesScreen.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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;