mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Fix backslashes on failed to load lang folder panel
This commit is contained in:
parent
70c10e6526
commit
48e58ec702
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ void djui_panel_language_create(struct DjuiBase* caller) {
|
|||
LOG_ERROR("Could not open directory '%s'", lpath);
|
||||
|
||||
char buffer[512] = "";
|
||||
sys_swap_backslashes(lpath);
|
||||
snprintf(buffer, 512, "\\#ffa0a0\\Failed to load language folder:\n\\#dcdcdc\\%s", lpath);
|
||||
struct DjuiText* text = djui_text_create(body, buffer);
|
||||
djui_text_set_alignment(text, DJUI_HALIGN_CENTER, DJUI_VALIGN_CENTER);
|
||||
|
|
Loading…
Reference in a new issue