summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgs.cpp2
-rw-r--r--src/modules/fonts/services.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 3b9a1e2184..073d225620 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -390,7 +390,6 @@ int LoadSendRecvMessageModule(void)
InitGlobals();
RichUtil_Load();
- OleInitialize(NULL);
InitOptions();
msgQueue_init();
@@ -445,7 +444,6 @@ int SplitmsgShutdown(void)
FreeMsgLogIcons();
FreeLibrary(GetModuleHandleA("Msftedit"));
- OleUninitialize();
RichUtil_Unload();
msgQueue_destroy();
return 0;
diff --git a/src/modules/fonts/services.cpp b/src/modules/fonts/services.cpp
index 63ab76242c..0f5cdadb6c 100644
--- a/src/modules/fonts/services.cpp
+++ b/src/modules/fonts/services.cpp
@@ -161,7 +161,7 @@ int GetFontSettingFromDB(char *settings_group, char *prefix, LOGFONT* lf, COLORR
mir_snprintf(idstr, SIZEOF(idstr), "%sSize", prefix);
lf->lfHeight = (char)db_get_b(NULL, settings_group, idstr, lf->lfHeight);
- //wsprintf(idstr, "%sFlags", prefix);
+ //mir_snprintf(idstr, SIZEOF(idstr), "%sFlags", prefix);
//if (db_get_dw(NULL, settings_group, idstr, 0) & FIDF_SAVEACTUALHEIGHT) {
// HDC hdc = GetDC(0);
// lf->lfHeight = -lf->lfHeight;