From: Holger Schemel Date: Mon, 28 Mar 2022 17:36:32 +0000 (+0200) Subject: added definition for string constant X-Git-Tag: 4.3.2.0~57 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=be18447f019fcb3ccbdcd5f804852815428a7f4b added definition for string constant --- diff --git a/src/editor.c b/src/editor.c index 1fd4b463..106176b9 100644 --- a/src/editor.c +++ b/src/editor.c @@ -5610,7 +5610,7 @@ static char *getElementInfoText(int element) static char *getElementDescriptionFilenameExt(char *basename) { - char *elements_subdir = "elements"; + char *elements_subdir = ELEMENTS_DIRECTORY; static char *elements_subdir2 = NULL; static char *filename = NULL; diff --git a/src/libgame/system.h b/src/libgame/system.h index 72d037cd..d3ec73c1 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -654,6 +654,7 @@ #define TAPES_DIRECTORY "tapes" #define SCORES_DIRECTORY "scores" #define DOCS_DIRECTORY "docs" +#define ELEMENTS_DIRECTORY "elements" #define CACHE_DIRECTORY "cache" #define CONF_DIRECTORY "conf" #define NETWORK_DIRECTORY "network"