summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/Utils.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/Utils.cpp11
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);