Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
netwarm007 committed Jul 3, 2022
2 parents f0d85ee + 3b64620 commit 3ef737b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ELSEIF(WIN32)
ENDIF(UNIX)

if(MSVC)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D _CRT_SECURE_NO_WARNINGS /MP")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D _CRT_SECURE_NO_WARNINGS /MP /utf-8")
endif(MSVC)

if(ANDROID)
Expand Down
4 changes: 2 additions & 2 deletions Test/ImGuiTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ int test(BaseApplication& app) {
ImVector<ImWchar> ranges;
ImFontGlyphRangesBuilder builder;
builder.AddText(
(const char*)u8"屏擎渲帧钮"); // Add a string (here "Hello world"
// contains 7 unique characters)
(const char*)u8"屏擎渲帧钮");

builder.AddRanges(
io.Fonts->GetGlyphRangesChineseSimplifiedCommon()); // Add one of the
// default ranges
Expand Down

0 comments on commit 3ef737b

Please sign in to comment.