diff --git a/READMEJP.txt b/READMEJP.txt index a16b944e..5b06a81f 100644 --- a/READMEJP.txt +++ b/READMEJP.txt @@ -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.] diff --git a/src/RisohEditor.cpp b/src/RisohEditor.cpp index a9bc5787..31937172 100644 --- a/src/RisohEditor.cpp +++ b/src/RisohEditor.cpp @@ -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