summaryrefslogtreecommitdiff
path: root/plugins/FreeImage/Source/LibTIFF/tif_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FreeImage/Source/LibTIFF/tif_win32.c')
-rw-r--r--plugins/FreeImage/Source/LibTIFF/tif_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FreeImage/Source/LibTIFF/tif_win32.c b/plugins/FreeImage/Source/LibTIFF/tif_win32.c
index ddfd778ead..5b3875901d 100644
--- a/plugins/FreeImage/Source/LibTIFF/tif_win32.c
+++ b/plugins/FreeImage/Source/LibTIFF/tif_win32.c
@@ -210,7 +210,7 @@ TIFFOpen(const char* name, const char* mode)
}
tif = TIFFFdOpen((int)fd, name, mode);
- if(!tif)
+ if (!tif)
CloseHandle(fd);
return tif;
}
@@ -266,7 +266,7 @@ TIFFOpenW(const wchar_t* name, const char* mode)
tif = TIFFFdOpen((int)fd,
(mbname != NULL) ? mbname : "<unknown>", mode);
- if(!tif)
+ if (!tif)
CloseHandle(fd);
_TIFFfree(mbname);