diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-24 15:22:00 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-24 15:22:00 +0300 |
commit | 9774715b1914ac65ada1211322bfd080af694af9 (patch) | |
tree | 639b14e2201ffa0ebe5c514114ca30f23d1f8c70 /src/core | |
parent | b873a2605a28bbf43e9cc6679562cf6bbabad601 (diff) |
code cleaning
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msglog.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/stdafx.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp index 83c1f79ac9..62cf73ca53 100644 --- a/src/core/stdmsg/src/msglog.cpp +++ b/src/core/stdmsg/src/msglog.cpp @@ -144,7 +144,7 @@ static void SetToStyle(int style, CMStringA &dest) bool DbEventIsShown(const DB::EventInfo &dbei)
{
- return dbei.eventType == EVENTTYPE_MESSAGE || dbei.eventType == EVENTTYPE_FILE || dbei.isSrmm();
+ return dbei.isSrmm();
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 7d8cb2f962..27a9c076e3 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -201,8 +201,7 @@ void Load_ChatModule(void); void InitGlobals(void);
// log.cpp
-char* Log_CreateRtfHeader(void);
-CSrmmLogWindow *logBuilder(CMsgDialog &pDlg);
+CSrmmLogWindow* logBuilder(CMsgDialog &pDlg);
// window.cpp
SESSION_INFO* SM_GetPrevWindow(SESSION_INFO *si);
|