diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-02 17:33:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-02 17:33:47 +0300 |
commit | 9fcdf625f3f4cf525270cf63fd90a43efbeb206c (patch) | |
tree | 3cde2394312c4c2f464579d6f45d6cd113940822 /src | |
parent | c77d23fa4db856d6735df3115519639ec333f70d (diff) |
fix for utf8 in the Help - About dialog
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/help.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mir_app/src/help.cpp b/src/mir_app/src/help.cpp index b5603d7340..3bf6f6d482 100644 --- a/src/mir_app/src/help.cpp +++ b/src/mir_app/src/help.cpp @@ -52,7 +52,10 @@ public: virtual void OnInitDialog() override { - ctrlDevelopers.SetText(_T(LEGAL_COPYRIGHT)); + ptrW wszCopyright(mir_utf8decodeW(LEGAL_COPYRIGHT)); + if (wszCopyright == nullptr) + wszCopyright = mir_a2u(LEGAL_COPYRIGHT); + ctrlDevelopers.SetText(wszCopyright); char productVersion[56]; Miranda_GetVersionText(productVersion, _countof(productVersion)); |