Fix backslashes on failed to load lang folder panel
This commit is contained in:
parent
70c10e6526
commit
48e58ec702
|
@ -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 New Issue