-Style fixes (check for (i != 0) instead of just i for int
-Error on some extreme cases (can't even allocate 1 byte) (the exit here are to make splint happy) -Header protection with #ifdef git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@925 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
///@file filesel.h
|
||||
/// Fileselector window, used for loading and saving images and brushes.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef __FILESEL_H__
|
||||
#define __FILESEL_H__
|
||||
|
||||
#include "struct.h"
|
||||
|
||||
byte Button_Load_or_Save(byte load, byte image);
|
||||
|
||||
@@ -40,3 +44,5 @@ void Recount_files(T_Fileselector *list);
|
||||
T_Fileselector_item * Get_item_by_index(T_Fileselector *list, short index);
|
||||
|
||||
short Find_file_in_fileselector(T_Fileselector *list, char * fname);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user