summaryrefslogtreecommitdiff
path: root/plugins/FreeImage/Source/LibTIFF/tif_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FreeImage/Source/LibTIFF/tif_unix.c')
-rw-r--r--plugins/FreeImage/Source/LibTIFF/tif_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FreeImage/Source/LibTIFF/tif_unix.c b/plugins/FreeImage/Source/LibTIFF/tif_unix.c
index f693df7653..7e294cb78b 100644
--- a/plugins/FreeImage/Source/LibTIFF/tif_unix.c
+++ b/plugins/FreeImage/Source/LibTIFF/tif_unix.c
@@ -176,7 +176,7 @@ TIFFOpen(const char* name, const char* mode)
}
tif = TIFFFdOpen((int)fd, name, mode);
- if(!tif)
+ if (!tif)
close(fd);
return tif;
}
@@ -229,7 +229,7 @@ TIFFOpenW(const wchar_t* name, const char* mode)
_TIFFfree(mbname);
- if(!tif)
+ if (!tif)
close(fd);
return tif;
}