summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
commite63926f79d51119b829d683983e562527f7dd10a (patch)
tree4ad26cc425798912f9391d9166cf32c6ea573c17 /src
parenta16429430c5cd7b20c6790c0f1084a8df6bbc9f4 (diff)
Db_autobackups: multiple changes
+ varios fixs git-svn-id: http://svn.miranda-ng.org/main/trunk@11245 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;