Fix EUC-JP characters (#172)

* Fix euc jp characters

* Update menu_items.c
This commit is contained in:
MegaMech
2025-01-25 12:38:26 -07:00
committed by GitHub
parent 3cf0d063ce
commit 5bac540ca3
3 changed files with 15 additions and 12 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ void MultiplayerWindow::DrawElement() {
ImGui::Spacing();
for (size_t i = 0; i < NUM_PLAYERS; i++) {
if (D_800E76A8[i] == NULL || D_800E76A8[i] == "ーーーー") {
// These are euc-jp characters that look sort of like a hyphen -
if (D_800E76A8[i] == NULL || D_800E76A8[i] == "\xA1\xBC\xA1\xBC\xA1\xBC\xA1\xBC") {
break;
}
ImGui::SameLine();