diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-13 08:00:41 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-13 08:00:41 +0000 |
commit | 11fcecff7c310c2cc10bda2ab2fa2daf525be571 (patch) | |
tree | 86fb20fc1ce5e243dd9a973f84b9f1ae6a85c1b4 /plugins/SendScreenshotPlus/src/UMainForm.cpp | |
parent | cb68918922e0d297cc57c4b00fcc42ceaf141965 (diff) |
- another portion of '#ifdef UNICODE' clean up
git-svn-id: http://svn.miranda-ng.org/main/trunk@3993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index ecfb61b2e2..229f19ac37 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -1085,13 +1085,10 @@ INT_PTR TfrmMain::SaveScreenshot(FIBITMAP* dib) { TCHAR pszFormat[6];
ComboBox_GetText(hwndCombo, pszFormat, 6);
if(ret && (_tcsicmp (pszFormat,_T("png")) != 0)) {
- #if defined(_UNICODE)
+
fif = FIP->FI_GetFIFFromFilenameU(ret);
dib_new = FIP->FI_LoadU(fif, ret,0);
- #else
- fif = FIP->FI_GetFIFFromFilenameU(ret);
- dib_new = FIP->FI_Load(fif, ret,0);
- #endif
+
if(dib_new) {
DeleteFile(ret);
|