mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
by others. Also make use of the author's own self-test suit. PR: 196161 Approved by: maintainer timeout
14 lines
367 B
Text
14 lines
367 B
Text
See https://sourceforge.net/p/openil/patches/50/
|
|
|
|
--- src-IL/src/il_targa.c (revision 1678)
|
|
+++ src-IL/src/il_targa.c (working copy)
|
|
@@ -219,6 +219,9 @@
|
|
ilSetError(IL_ILLEGAL_FILE_VALUE);
|
|
return IL_FALSE;
|
|
}
|
|
+
|
|
+ if (bTarga==IL_FALSE)
|
|
+ return IL_FALSE;
|
|
|
|
// @JASON Extra Code to manipulate the image depending on
|
|
// the Image Descriptor's origin bits.
|