Skip to content

Commit 31abe0c

Browse files
Fix get_court_sfx using latin1 instead of utf-8 (#540)
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
1 parent 5fca085 commit 31abe0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/text_file_functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ QString AOApplication::get_court_sfx(QString p_identifier, QString p_misc)
477477
{
478478
QString value = get_config_value(p_identifier, "courtroom_sounds.ini", current_theme, get_subtheme(), default_theme, p_misc);
479479
if (!value.isEmpty())
480-
return value.toLatin1();
480+
return value.toUtf8();
481481
return "";
482482
}
483483

0 commit comments

Comments
 (0)