changeset 875:943918a69836 Evo_2_23

DevBugfix: Added missing default language value
author Ideenmodellierer
date Thu, 15 Aug 2024 20:44:35 +0200
parents fbb6f8f41e0a
children 5b325372db4b
files Discovery/Src/gfx_engine.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/gfx_engine.c	Wed Aug 14 16:50:55 2024 +0200
+++ b/Discovery/Src/gfx_engine.c	Thu Aug 15 20:44:35 2024 +0200
@@ -3202,7 +3202,7 @@
 	SSettings *pSettings;
 	pSettings = settingsGetPointer();
 	gfx_selected_language = pSettings->selected_language;
-	if(gfx_selected_language >= LANGUAGE_END)
+	if(gfx_selected_language >= LANGUAGE_END) gfx_selected_language = 0;
 #endif
 // -----------------------------
 #ifndef BOOTLOADER_STANDALONE
@@ -3298,7 +3298,7 @@
 	SSettings *pSettings;
 	pSettings = settingsGetPointer();
 	gfx_selected_language = pSettings->selected_language;
-	if(gfx_selected_language >= LANGUAGE_END)
+	if(gfx_selected_language >= LANGUAGE_END) gfx_selected_language = 0;
 #else
 	cText[0] = 0;
 #endif