Fixed some issues with internationalisation
[pspp] / src / data-out.c
index 24428c6ac69c241a3fcb936f34614ff1045c1518..be4471a047eca12f7e61073b0fcb8670b6041c09 100644 (file)
@@ -35,8 +35,6 @@
 #include "str.h"
 #include "var.h"
 
-#undef DEBUGGING
-/*#define DEBUGGING 1*/
 #include "debug-print.h"
 
 /* In older versions, numbers got their trailing zeros stripped.
@@ -360,8 +358,9 @@ convert_Z (char *dst, const struct fmt_spec *fp, const union value *v)
 
   if (!warned)
     {
-      msg (MW, _("Quality of zoned decimal (Z) output format code is "
-                "suspect.  Check your results, report bugs to author."));
+      msg (MW, 
+       _("Quality of zoned decimal (Z) output format code is suspect.  Check your results. Report bugs to %s."),
+       PACKAGE_BUGREPORT);
       warned = 1;
     }
 
@@ -467,8 +466,9 @@ convert_IB (char *dst, const struct fmt_spec *fp, const union value *v)
        }
     }
   memcpy (dst, temp, fp->w);
-  if (endian == LITTLE)
-    mm_reverse (dst, fp->w);
+#ifndef WORDS_BIGENDIAN
+  mm_reverse (dst, fp->w);
+#endif
 
   return 1;
 }
@@ -530,8 +530,9 @@ convert_PIB (char *dst, const struct fmt_spec *fp, const union value *v)
       frac *= 256.0;
       ((unsigned char *) dst)[i] = floor (frac);
     }
-  if (endian == LITTLE)
-    mm_reverse (dst, fp->w);
+#ifndef WORDS_BIGENDIAN
+  mm_reverse (dst, fp->w);
+#endif
 
   return 1;
 }
@@ -749,10 +750,6 @@ convert_date (char *dst, const struct fmt_spec *fp, const union value *v)
          }
       }
       break;
-#if __CHECKER__
-    case 42000:
-      assert (0);
-#endif
     default:
       assert (0);
     }