openbsd-ports/graphics/gimp/stable/patches/patch-plug-ins_common_file-dicom_c

15 lines
430 B
Plaintext

Fix return value.
Index: plug-ins/common/file-dicom.c
--- plug-ins/common/file-dicom.c.orig
+++ plug-ins/common/file-dicom.c
@@ -602,7 +602,7 @@ load_image (const gchar *filename,
(gchar *) value, samples_per_pixel);
g_free (dicominfo);
fclose (DICOM);
- return NULL;
+ return -1;
}
break;