mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 15:11:51 +00:00
On Linux build without startup GUI, don't save ModDir to config.
git-svn-id: https://svn.eduke32.com/eduke32@2962 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9abc415a24
commit
4724f5d18c
1 changed files with 3 additions and 1 deletions
|
@ -866,9 +866,11 @@ void CONFIG_WriteSetup(uint32_t flags)
|
|||
|
||||
SCRIPT_PutString(ud.config.scripthandle, "Setup","SelectedGRP",&g_grpNamePtr[0]);
|
||||
|
||||
// XXX: should be "if compiled without startup GUI"
|
||||
#if !defined __linux || defined HAVE_GTK2
|
||||
if (g_noSetup == 0)
|
||||
SCRIPT_PutString(ud.config.scripthandle, "Setup","ModDir",&g_modDir[0]);
|
||||
|
||||
#endif
|
||||
// exit early after only updating the values that can be changed from the startup window
|
||||
if (flags & 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue