aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-22 21:42:45 +0800
committercrupest <crupest@outlook.com>2021-10-22 21:42:45 +0800
commit3e84cf013b31c52405a76b8e8778a5991d096290 (patch)
tree4d3b2d2ef5a9625c55f798d88281073e806ee83f /demos
parented640ca9e3c7482856a0248ea38adafc86a7d4c8 (diff)
downloadcru-3e84cf013b31c52405a76b8e8778a5991d096290.tar.gz
cru-3e84cf013b31c52405a76b8e8778a5991d096290.tar.bz2
cru-3e84cf013b31c52405a76b8e8778a5991d096290.zip
...
Diffstat (limited to 'demos')
-rw-r--r--demos/input_method/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp
index cc86ce4d..67743239 100644
--- a/demos/input_method/main.cpp
+++ b/demos/input_method/main.cpp
@@ -31,7 +31,7 @@ int main() {
auto target_clause_brush = graphics_factory->CreateSolidColorBrush();
target_clause_brush->SetColor(colors::blue);
- std::shared_ptr<IFont> font = graphics_factory->CreateFont(u"Serif", 30);
+ std::shared_ptr<IFont> font = graphics_factory->CreateFont(String{}, 30);
float window_width = 10000;