Skip to content

Commit 4fdca3c

Browse files
committed
add workaround for Microsoft message tables
1 parent 6ae541c commit 4fdca3c

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,9 @@ You have to copy the 64-bit file into another place before loading.
298298
- Fixed the return value of process.
299299
- Improved message table handling.
300300
- Don't change the case of name when renaming it in TreeView.
301-
- v.5.6.2 (2021.XX.YY)
301+
- v.5.6.2 (2021.08.15)
302302
- Enlarged width of "Save Options" and "Export Options" dialogs.
303+
- Added workaround to add message tables on Microsoft compatible mode.
303304

304305
## Contact Us
305306

README.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,9 @@ Question 6. Are the 64-bit files supported?
289289
- Fixed the return value of process.
290290
- Improved message table handling.
291291
- Don't change the case of name when renaming it in TreeView.
292-
- v.5.6.2 (2021.XX.YY)
292+
- v.5.6.2 (2021.08.15)
293293
- Enlarged width of "Save Options" and "Export Options" dialogs.
294+
- Added workaround to add message tables on Microsoft compatible mode.
294295

295296
/////////////////////////////////////////////////////////////////////
296297
Katayama Hirofumi MZ (katahiromz) [A.N.T.]

READMEIT.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,9 @@ Domanda 6. I file a 64 bit sono supportati?
289289
- Corretto il valore di ritorno del processo.
290290
- Migliorata gestione della tabella messaggi.
291291
- Don't change the case of name when renaming it in TreeView.
292-
- v.5.6.2 (2021.XX.YY)
292+
- v.5.6.2 (15.08.2021)
293293
- Enlarged width of "Save Options" and "Export Options" dialogs.
294+
- Added workaround to add message tables on Microsoft compatible mode.
294295

295296
/////////////////////////////////////////////////////////////////////
296297
// Katayama Hirofumi MZ (katahiromz) [A.N.T.]

READMEJP.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,9 @@
631631
プロセスの戻り値を修正。
632632
メッセージテーブルの扱いを改善。
633633
ツリービューの名前変更で大文字にしない。
634-
v.5.6.2 (2021.XX.YY)
634+
v.5.6.2 (2021.08.15)
635635
「保存オプション」と「エクスポート オプション」ダイアログの幅を広げた。
636+
マイクロソフト互換モードでメッセージテーブルを追加するための回避策を追加。
636637

637638
/////////////////////////////////////////////////////
638639
// 片山博文MZ (katahiromz) [A.N.T.]

READMEKO.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,9 @@ Windows XP/2003/Vista/7/8.1/10 및 ReactOS에서 작동합니다.
289289
- 프로세스의 반환 값이 수정되었습니다.
290290
- 메시지 테이블 처리가 개선되었습니다.
291291
- Don't change the case of name when renaming it in TreeView.
292-
- v.5.6.2 (2021.XX.YY)
292+
- v.5.6.2 (2021.08.15)
293293
- Enlarged width of "Save Options" and "Export Options" dialogs.
294+
- Added workaround to add message tables on Microsoft compatible mode.
294295

295296
/////////////////////////////////////////////////////////////////////
296297
Katayama Hirofumi MZ (katahiromz) [A.N.T.]

src/RisohEditor.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -13350,6 +13350,13 @@ void MMainWnd::DoAddRes(HWND hwnd, MAddResDlg& dialog)
1335013350
SetWindowTextW(m_hCodeEditor, dialog.m_strTemplate.c_str());
1335113351
::SendMessageW(m_hCodeEditor, LNEM_CLEARLINEMARKS, 0, 0);
1335213352

13353+
// workaround to edit the Microsoft message table
13354+
if (dialog.m_type == RT_MESSAGETABLE &&
13355+
g_settings.bUseMSMSGTABLE)
13356+
{
13357+
g_settings.bUseMSMSGTABLE = FALSE;
13358+
}
13359+
1335313360
// compile dialog.m_strTemplate
1335413361
MStringA strOutput;
1335513362
if (CompileParts(strOutput, dialog.m_type, dialog.m_name, dialog.m_lang, dialog.m_strTemplate, FALSE))

0 commit comments

Comments
 (0)