Use MAX_SHORT_STRING in place of MIN_LONG_STRING.
[pspp-builds.git] / src / data / value.c
index 71a2dc9451cc9878dc2a6acd3fa24d215db58d41..ce050c01668a47652e12bf9746e14deac2e58f9d 100644 (file)
@@ -192,8 +192,8 @@ value_needs_resize (int old_width, int new_width)
      anyway in hopes of saving memory.) */
   return (old_width != new_width
            && (new_width > old_width
-               || old_width >= MIN_LONG_STRING
-               || new_width >= MIN_LONG_STRING));
+               || old_width > MAX_SHORT_STRING
+               || new_width > MAX_SHORT_STRING));
 }
 
 /* Same as value_init, except that memory for VALUE (if