Change to return the value from OnUserQuit() as request

This commit is contained in:
OGAWA Hirofumi
2015-02-22 04:32:35 +09:00
parent 85941f87c0
commit c6d093a53a
8 changed files with 12 additions and 9 deletions

View File

@@ -105,9 +105,10 @@ public:
return CONTINUE;
}
virtual void OnUserQuit(CString& sMessage) override {
virtual EModRet OnUserQuit(CString& sMessage) override {
if (m_bRules[RULE_QUIT])
ClearAllBuffers();
return CONTINUE;
}
void SetAllRules(bool bVal) {