diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-01-25 12:38:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-25 12:38:26 -0700 |
| commit | 5bac540ca347097ff89471cf74f9f18e66ca865c (patch) | |
| tree | e47cde7a42fb4d8afd1bc265998dc885c0ca9a2d /src/port/ui/MultiplayerWindow.cpp | |
| parent | 3cf0d063ce0caa1de7c81cdc22a378789b8b723d (diff) | |
Fix EUC-JP characters (#172)
* Fix euc jp characters
* Update menu_items.c
Diffstat (limited to 'src/port/ui/MultiplayerWindow.cpp')
| -rw-r--r-- | src/port/ui/MultiplayerWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/ui/MultiplayerWindow.cpp b/src/port/ui/MultiplayerWindow.cpp index 098d277f1..0345dbaa5 100644 --- a/src/port/ui/MultiplayerWindow.cpp +++ b/src/port/ui/MultiplayerWindow.cpp @@ -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(); |
