diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/chat/chat_opts.cpp | 2 | ||||
-rw-r--r-- | src/modules/chat/chat_svc.cpp | 2 | ||||
-rw-r--r-- | src/modules/chat/log.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/chat/chat_opts.cpp b/src/modules/chat/chat_opts.cpp index d891331f2b..68f4710827 100644 --- a/src/modules/chat/chat_opts.cpp +++ b/src/modules/chat/chat_opts.cpp @@ -306,8 +306,6 @@ int OptionsInit(void) g_Settings->UserListFont = NULL;
g_Settings->UserListHeadingsFont = NULL;
g_Settings->MessageBoxFont = NULL;
- g_Settings->iX = db_get_dw(NULL, "Chat", "roomx", -1);
- g_Settings->iY = db_get_dw(NULL, "Chat", "roomy", -1);
g_Settings->iWidth = db_get_dw(NULL, "Chat", "roomwidth", -1);
g_Settings->iHeight = db_get_dw(NULL, "Chat", "roomheight", -1);
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp index c8735ca7c8..de9e7dc464 100644 --- a/src/modules/chat/chat_svc.cpp +++ b/src/modules/chat/chat_svc.cpp @@ -66,6 +66,8 @@ void LoadChatIcons(void) ci.hIcons[ICON_STATUS3] = LoadIconEx("status3", FALSE);
ci.hIcons[ICON_STATUS4] = LoadIconEx("status4", FALSE);
ci.hIcons[ICON_STATUS5] = LoadIconEx("status5", FALSE);
+
+ LoadMsgLogBitmaps();
}
static int FontsChanged(WPARAM wParam, LPARAM lParam)
diff --git a/src/modules/chat/log.cpp b/src/modules/chat/log.cpp index 18a95b518b..01e2c2c1ef 100644 --- a/src/modules/chat/log.cpp +++ b/src/modules/chat/log.cpp @@ -346,7 +346,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData) Log_Append(&buffer, &bufferEnd, &bufferAlloced, "\\par%s ", Log_SetStyle(0, 0));
// Insert icon
- if (lin->iType & g_Settings->dwIconFlags || lin->bIsHighlighted&&g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT) {
+ if ((lin->iType & g_Settings->dwIconFlags) || lin->bIsHighlighted && (g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT)) {
int iIndex = (lin->bIsHighlighted && g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT) ? ICON_HIGHLIGHT : EventToIcon(lin);
Log_Append(&buffer, &bufferEnd, &bufferAlloced, "\\f0\\fs14");
while (bufferAlloced - bufferEnd < logIconBmpSize[0])
|