diff options
Diffstat (limited to 'plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp')
-rw-r--r-- | plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp b/plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp index b820bb3577..a61534474d 100644 --- a/plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp +++ b/plugins/AdvaImg/src/FreeImage/tmoDrago03.cpp @@ -258,13 +258,13 @@ FIBITMAP* DLL_CALLCONV FreeImage_TmoDrago03(FIBITMAP *src, double gamma, double exposure) {
float maxLum, minLum, avgLum;
- if (!FreeImage_HasPixels(src)) return NULL;
+ if(!FreeImage_HasPixels(src)) return NULL;
// working RGBF variable
FIBITMAP *dib = NULL;
dib = FreeImage_ConvertToRGBF(src);
- if (!dib) return NULL;
+ if(!dib) return NULL;
// default algorithm parameters
const float biasParam = 0.85F;
|