mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Don't execute setcfgname if the provided name is the same as the one already in place.
git-svn-id: https://svn.eduke32.com/eduke32@6317 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0992cdb03f
commit
ad32eaeee0
1 changed files with 3 additions and 0 deletions
|
@ -2745,6 +2745,9 @@ void C_InitQuotes(void)
|
|||
|
||||
LUNATIC_EXTERN void C_SetCfgName(const char *cfgname)
|
||||
{
|
||||
if (Bstrcmp(g_setupFileName, cfgname) == 0) // no need to do anything if name is the same
|
||||
return;
|
||||
|
||||
char temp[BMAX_PATH];
|
||||
struct Bstat st;
|
||||
|
||||
|
|
Loading…
Reference in a new issue