diff options
Diffstat (limited to 'plugins/AdvaImg/src/FreeImage/PluginRAS.cpp')
-rw-r--r-- | plugins/AdvaImg/src/FreeImage/PluginRAS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AdvaImg/src/FreeImage/PluginRAS.cpp b/plugins/AdvaImg/src/FreeImage/PluginRAS.cpp index 08fc0c9e17..08fd558450 100644 --- a/plugins/AdvaImg/src/FreeImage/PluginRAS.cpp +++ b/plugins/AdvaImg/src/FreeImage/PluginRAS.cpp @@ -203,7 +203,7 @@ Load(FreeImageIO *io, fi_handle handle, int page, int flags, void *data) { BYTE *bits; // Pointer to dib data WORD x, y; - if (!handle) { + if(!handle) { return NULL; } @@ -309,7 +309,7 @@ Load(FreeImageIO *io, fi_handle handle, int page, int flags, void *data) { // Read SUN raster colormap int numcolors = 1 << header.depth; - if ((DWORD)(3 * numcolors) > header.maplength) { + if((DWORD)(3 * numcolors) > header.maplength) { // some RAS may have less colors than the full palette numcolors = header.maplength / 3; } else { |