[gimp] plug-ins: In file-fits, EXTEND should be a boolean.



commit 51a145474da716b4ef4ae50a53ea0f37207e16ab
Author: Michael Henning <drawoc darkrefraction com>
Date:   Fri Dec 20 17:56:21 2013 -0500

    plug-ins: In file-fits, EXTEND should be a boolean.

 plug-ins/file-fits/fits-io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-fits/fits-io.c b/plug-ins/file-fits/fits-io.c
index 42d2760..06c7a92 100644
--- a/plug-ins/file-fits/fits-io.c
+++ b/plug-ins/file-fits/fits-io.c
@@ -1134,7 +1134,7 @@ fits_decode_header (FitsRecordList *hdr,
   FITS_TRY_CARD (hdr, hdulist, "GROUPS", groups, FITS_DATA_TYPE_FLONG, fbool);
   random_groups = hdulist->used.groups && hdulist->groups;
 
-  FITS_TRY_CARD (hdr, hdulist, "EXTEND", extend, FITS_DATA_TYPE_FLONG, fbool);
+  FITS_TRY_CARD (hdr, hdulist, "EXTEND", extend, FITS_DATA_TYPE_FBOOL, fbool);
 
   if (hdulist->used.xtension)  /* Extension requires GCOUNT and PCOUNT */
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]