From a75dd27781c0ab59b83b4029ea5fa243be53920c Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sun, 24 Feb 2019 10:46:41 +0900 Subject: [PATCH] Fix 'Clone In New Language' --- README.md | 5 +++-- README.txt | 5 +++-- READMEJP.txt | 3 ++- src/RisohEditor.cpp | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 39ace623..3f8d849d 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,10 @@ It's a special message compiler I made. See mcdx/MESSAGETABLEDX.md for details. * 2019.01.27 ver.5.1.5 - Don't use WS_EX_MDICHILD extended style. - Support ReactOS. - * 2019.XX.YY ver.5.1.6 + * 2019.02.24 ver.5.1.6 - Improve Italian translation. - - GUI Adjustment. + - GUI adjustment. + - Fix "Clone In New Language". ## Contact Us diff --git a/README.txt b/README.txt index ba699eb3..a5658ba7 100644 --- a/README.txt +++ b/README.txt @@ -86,9 +86,10 @@ Question 4. What is mcdx? * 2019.01.27 ver.5.1.5 - Don't use WS_EX_MDICHILD extended style. - Support ReactOS. - * 2019.XX.YY ver.5.1.6 + * 2019.02.24 ver.5.1.6 - Improve Italian translation. - - GUI Adjustment. + - GUI adjustment. + - Fix "Clone In New Language". ///////////////////////////////////////////////////// // Katayama Hirofumi MZ (katahiromz) [A.N.T.] diff --git a/READMEJP.txt b/READMEJP.txt index 9d92e785..e8fbb093 100644 --- a/READMEJP.txt +++ b/READMEJP.txt @@ -405,9 +405,10 @@ 2019.01.27 ver.5.1.5 WS_EX_MDICHILD拡張スタイルを使わないようにした。 ReactOSをサポート。 - 2019.XX.YY ver.5.1.6 + 2019.02.24 ver.5.1.6 イタリア語の改良。 GUIの調整。 + 「別の言語で複製」を修正。 ///////////////////////////////////////////////////// // 片山博文MZ (katahiromz) [A.N.T.] diff --git a/src/RisohEditor.cpp b/src/RisohEditor.cpp index 54e2f470..0f378f71 100644 --- a/src/RisohEditor.cpp +++ b/src/RisohEditor.cpp @@ -3318,7 +3318,7 @@ void MMainWnd::OnCopyAsNewLang(HWND hwnd) { // search the entries EntrySetBase found; - g_res.search(found, ET_LANG, entry->m_type, WORD(0), entry->m_lang); + g_res.search(found, ET_LANG, entry->m_type, entry->m_name, entry->m_lang); // copy them for (auto e : found)