diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/chat/chat_opts.cpp | 1 | ||||
-rw-r--r-- | src/modules/chat/log.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/chat/chat_opts.cpp b/src/modules/chat/chat_opts.cpp index e95ac3d5e7..3cdb866171 100644 --- a/src/modules/chat/chat_opts.cpp +++ b/src/modules/chat/chat_opts.cpp @@ -195,6 +195,7 @@ static void InitSetting(TCHAR** ppPointer, char* pszSetting, TCHAR* pszDefault) void LoadGlobalSettings(void)
{
+ g_Settings->LogIconSize = 10;
g_Settings->bLogLimitNames = db_get_b(NULL, "Chat", "LogLimitNames", 1) != 0;
g_Settings->bShowTime = db_get_b(NULL, "Chat", "ShowTimeStamp", 1) != 0;
g_Settings->bSoundsFocus = db_get_b(NULL, "Chat", "SoundsFocus", 0) != 0;
diff --git a/src/modules/chat/log.cpp b/src/modules/chat/log.cpp index 26a88b35f3..b5703cda2e 100644 --- a/src/modules/chat/log.cpp +++ b/src/modules/chat/log.cpp @@ -483,9 +483,8 @@ void LoadMsgLogBitmaps(void) bih.biSize = sizeof(bih);
bih.biBitCount = 24;
bih.biCompression = BI_RGB;
- bih.biHeight = 10; //GetSystemMetrics(SM_CYSMICON);
+ bih.biHeight = bih.biWidth = g_Settings->LogIconSize;
bih.biPlanes = 1;
- bih.biWidth = 10; //GetSystemMetrics(SM_CXSMICON);
int widthBytes = ((bih.biWidth * bih.biBitCount + 31) >> 5) * 4;
RECT rc;
|