New implementation of long variable names. Each variable has a
[pspp-builds.git] / src / format.c
index a1cea8d671144d9382484906c51af0304b87c124..b3070e2149f1e9c30250ccd8759896f279b55b95 100644 (file)
@@ -59,7 +59,7 @@ parse_format_specifier_name (const char **cp, enum fmt_parse_flags flags)
       /* Find format. */
       for (idx = 0; idx < FMT_NUMBER_OF_FORMATS; idx++)
         if (strlen (formats[idx].name) == ep - sp
-            && !memcmp (formats[idx].name, sp, ep - sp))
+            && !mm_case_compare (formats[idx].name, sp, ep - sp))
           break;
 
       /* Check format. */