Skip to content

Commit

Permalink
Fix #35
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Aug 14, 2018
1 parent 6790e60 commit a2fff7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion READMEJP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@
2018.07.20 ver.5.0.2
プロセス待ち時間を20秒まで延長。
ダイアログのコントロールを削除したときの不具合を修正。
2018.XX.YY ver.5.0.3
2018.08.14 ver.5.0.3
リソースの削除のバグ修正。

/////////////////////////////////////////////////////
// 片山博文MZ (katahiromz) [A.N.T.]
Expand Down
2 changes: 1 addition & 1 deletion src/RisohEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9452,7 +9452,7 @@ void MMainWnd::OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
// remove the command lock
--m_nCommandLock;

if (m_nCommandLock == 0 && (std::rand() & 15) == 0)
if (m_nCommandLock == 0)
g_res.delete_invalid(); // clean up invalids

// show "ready" status if ready
Expand Down

0 comments on commit a2fff7b

Please sign in to comment.