diff options
author | crupest <crupest@outlook.com> | 2018-09-23 18:42:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-23 18:42:06 +0800 |
commit | 5eb05140c67db521654f5b7e69c2eacf332588f6 (patch) | |
tree | ec6d1a59bc70628c7cffe20238ae26ea2b2a917c | |
parent | 09864c09e519eaa58e3a7269baad7f48e8145f4f (diff) | |
download | cru-5eb05140c67db521654f5b7e69c2eacf332588f6.tar.gz cru-5eb05140c67db521654f5b7e69c2eacf332588f6.tar.bz2 cru-5eb05140c67db521654f5b7e69c2eacf332588f6.zip |
Fix the file encoding.
-rw-r--r-- | CruUI/graph/graph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/graph/graph.cpp b/CruUI/graph/graph.cpp index 77d7044e..30b51413 100644 --- a/CruUI/graph/graph.cpp +++ b/CruUI/graph/graph.cpp @@ -216,7 +216,7 @@ namespace cru { ComPtr<ID2D1SolidColorBrush> CreateSolidBrush(const D2D1_COLOR_F& color) { - const auto device_context = graph::GraphManager::GetInstance()->GetD2D1DeviceContext(); + const auto device_context = GraphManager::GetInstance()->GetD2D1DeviceContext(); ComPtr<ID2D1SolidColorBrush> solid_color_brush; device_context->CreateSolidColorBrush(color, &solid_color_brush); return solid_color_brush; @@ -229,7 +229,7 @@ namespace cru { ComPtr<IDWriteTextFormat> text_format; ThrowIfFailed(dwrite_factory->CreateTextFormat( - L"µÈÏß", nullptr, + L"ç‰çº¿", nullptr, DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_STRETCH_NORMAL, |