diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Msg_Export/src/utils.cpp | 3 | ||||
-rw-r--r-- | plugins/Popup/src/popup_wnd2.cpp | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 8fa20770cc..fe3c467b6c 100644 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -650,7 +650,8 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, const wstring &sF DWORD dwPtr = SetFilePointer(hFile, 0, nullptr, FILE_END);
if (dwPtr == INVALID_SET_FILE_POINTER)
return false;
-
+ }
+ else {
bWriteUTF8Format = g_plugin.bUseUtf8InNewFiles;
if (bWriteUTF8Format)
if (!bWriteToFile(hFile, szUtf8ByteOrderHeader, sizeof(szUtf8ByteOrderHeader) - 1))
diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index f711ca041d..a4c1b103bf 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -44,7 +44,7 @@ void WindowThread(void *arg); LRESULT CALLBACK MenuHostWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
-bool LoadPopupWnd2()
+bool LoadPopupWnd2()
{
bool res = true;
@@ -99,7 +99,7 @@ bool LoadPopupWnd2() return res && ghwndMenuHost;
}
-void UnloadPopupWnd2()
+void UnloadPopupWnd2()
{
DestroyWindow(ghwndMenuHost);
}
@@ -1219,7 +1219,7 @@ LRESULT CALLBACK PopupWnd2::WindowProc(HWND hwnd, UINT message, WPARAM wParam, L return DefWindowProc(hwnd, message, wParam, lParam);
}
-void WindowThread(void *arg)
+void WindowThread(void *arg)
{
Thread_SetName("POPUP: WindowThread");
|