Codechange: use string/fmt instead of printf for ShowInfo(F)

This commit is contained in:
Rubidium
2023-04-18 19:41:29 +02:00
committed by rubidium42
parent 8f24901843
commit f5f6306af3
15 changed files with 35 additions and 49 deletions

View File

@@ -392,11 +392,11 @@ void GetKeyboardLayout()
}
if (has_error) {
ShowInfoF("The keyboard layout you selected contains invalid chars. Please check those chars marked with ^.");
ShowInfoF("Normal keyboard: %s", keyboard[0]);
ShowInfoF(" %s", errormark[0]);
ShowInfoF("Caps Lock: %s", keyboard[1]);
ShowInfoF(" %s", errormark[1]);
ShowInfo("The keyboard layout you selected contains invalid chars. Please check those chars marked with ^.");
ShowInfo("Normal keyboard: {}", keyboard[0]);
ShowInfo(" {}", errormark[0]);
ShowInfo("Caps Lock: {}", keyboard[1]);
ShowInfo(" {}", errormark[1]);
}
}