OS Specific path seperator char (#316)

* OS Specific path seperator char

Adds OS specific path seperator char

* Update gui_window_file_dialog.h

* Update custom_file_dialog.c
This commit is contained in:
Hanaxar
2023-08-02 20:18:22 +03:00
committed by GitHub
parent 3d20f06bf2
commit 7567816d3e
2 changed files with 6 additions and 1 deletions

View File

@ -126,6 +126,11 @@ void GuiWindowFileDialog(GuiWindowFileDialogState *state);
//----------------------------------------------------------------------------------
#define MAX_DIRECTORY_FILES 2048
#define MAX_ICON_PATH_LENGTH 512
#ifdef _WIN32
#define PATH_SEPERATOR "\\"
#else
#define PATH_SEPERATOR "/"
#endif
//----------------------------------------------------------------------------------
// Types and Structures Definition