Skip to content
Permalink
Browse files

UWP: fix && in English UI labels

  • Loading branch information...
driver1998 committed Jun 6, 2019
1 parent 8fab38e commit eb9581b43e16be22a30ca5383549f7f093ca0fd4
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/gfx_es2/draw_text_uwp.cpp
@@ -317,7 +317,7 @@ void TextDrawerUWP::DrawString(DrawBuffer &target, const char *str, float x, flo
}
else {
// Render the string to our bitmap and save to a GL texture.
std::wstring wstr = ConvertUTF8ToWString(ReplaceAll(str, "\n", "\r\n"));
std::wstring wstr = ConvertUTF8ToWString(ReplaceAll(ReplaceAll(str, "\n", "\r\n"), "&&", "&"));
SIZE size;

IDWriteTextFormat* format = nullptr;

0 comments on commit eb9581b

Please sign in to comment.
You can’t perform that action at this time.