Enable "Set Rel" for directory bookmarks only with portable installation

add a global variable to store if we are in a portable installation
This commit is contained in:
Thomas Bernard
2019-02-04 23:58:26 +01:00
parent 02f9d68f8e
commit e7bb7c8684
3 changed files with 14 additions and 2 deletions

View File

@@ -770,6 +770,9 @@ GFX2_GLOBAL signed char File_error;
/// Current line number when reading/writing gfx2.ini
GFX2_GLOBAL int Line_number_in_INI_file;
/// Set to true when the .cfg and .ini files are along the executable
GFX2_GLOBAL byte Portable_Installation_Detected;
// -- For iconv
#ifdef ENABLE_FILENAMES_ICONV