make conditional CHINESE preprocessor def into global constant

This commit is contained in:
Marco Antonio J. Costa
2024-12-31 16:28:44 -03:00
parent 4624fe92f0
commit 5d19c1fe25
6 changed files with 13 additions and 6 deletions
+8
View File
@@ -22,3 +22,11 @@ const i18n::Lang g_lang{
i18n::Lang::ru
#endif
};
const int MAX_MESSAGES_ON_MAP_BOTTOM{
#if defined(CHINESE) // zwwoooooo: Chinese fonts relatively high , so to reduce the number of rows
6
#else
9
#endif
};