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/Utils.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/Utils.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/Utils.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/SendScreenshotPlus/src/Utils.cpp b/plugins/SendScreenshotPlus/src/Utils.cpp index ab74f569a1..3758c1e18e 100644 --- a/plugins/SendScreenshotPlus/src/Utils.cpp +++ b/plugins/SendScreenshotPlus/src/Utils.cpp @@ -338,21 +338,14 @@ LPTSTR SaveImage(FREE_IMAGE_FORMAT fif, FIBITMAP* dib, LPTSTR pszFilename, LPTST }
if(fif==FIF_UNKNOWN) {
- #if defined(_UNICODE)
fif = FIP->FI_GetFIFFromFilenameU(pszFile);
- #else
- fif = FIP->FI_GetFIFFromFilename(pszFile);
- #endif
}
if(FIP->FI_FIFSupportsICCProfiles(fif)) {
bool bDummy = true;
}
- #if defined(_UNICODE)
- ret = FIP->FI_SaveU(fif, dib, pszFile, flag);
- #else
- ret = FIP->FI_Save(fif, dib, pszFile, flag);
- #endif
+ ret = FIP->FI_SaveU(fif, dib, pszFile, flag);
+
mir_free(FileExt);
|