Skip to content

Commit

Permalink
Fix the process of compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 20, 2019
1 parent 30d391d commit 6920d62
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ It's a special message compiler I made. See mcdx/MESSAGETABLEDX.md for details.
- Improve Italian translation.
- GUI adjustment.
- Fix "Clone In New Language".
* 2019.XX.YY ver.5.1.7
* 2019.03.20 ver.5.1.7
- Add PBS_MARQUEE and PBS_SMOOTHREVERSE styles.
- Fix the process of compilation error.

## Contact Us

Expand Down
3 changes: 2 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ Question 4. What is mcdx?
- Improve Italian translation.
- GUI adjustment.
- Fix "Clone In New Language".
* 2019.XX.YY ver.5.1.7
* 2019.03.20 ver.5.1.7
- Add PBS_MARQUEE and PBS_SMOOTHREVERSE styles.
- Fix the process of compilation error.

/////////////////////////////////////////////////////
// Katayama Hirofumi MZ (katahiromz) [A.N.T.]
Expand Down
3 changes: 2 additions & 1 deletion READMEJP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,9 @@
イタリア語の改良。
GUIの調整。
「別の言語で複製」を修正。
2019.XX.YY ver.5.1.7
2019.03.20 ver.5.1.7
PBS_MARQUEEとPBS_SMOOTHREVERSEスタイルを追加。
コンパイルエラーの処理を修正。

/////////////////////////////////////////////////////
// 片山博文MZ (katahiromz) [A.N.T.]
Expand Down
6 changes: 6 additions & 0 deletions src/RisohEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5954,6 +5954,12 @@ BOOL MMainWnd::CompileParts(MStringA& strOutput, const MIdOrString& type, const
res.delete_all();
}
}
else
{
bOK = FALSE;
// error message
strOutput = MWideToAnsi(CP_ACP, LoadStringDx(IDS_COMPILEERROR));
}
}
else
{
Expand Down

0 comments on commit 6920d62

Please sign in to comment.