cleanup of unnecessarily convoluted function call 4.4.0.0-test-2
authorHolger Schemel <holger.schemel@virtion.de>
Tue, 18 Jun 2024 21:40:05 +0000 (23:40 +0200)
committerHolger Schemel <holger.schemel@virtion.de>
Tue, 18 Jun 2024 21:40:49 +0000 (23:40 +0200)
src/files.c

index 5c4209d7c45ecc5da189f2092765cf38cd4beb70..940ce6edc91e1c1854b9a2fa1bea2b113c2f17d5 100644 (file)
@@ -2924,7 +2924,7 @@ static int getFiletypeFromID(char *filetype_id)
 
 char *getLocalLevelTemplateFilename(void)
 {
-  return getDefaultLevelFilename(-1);
+  return getLevelFilenameFromBasename(LEVELTEMPLATE_FILENAME);
 }
 
 char *getGlobalLevelTemplateFilename(void)