projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use MAX_SHORT_STRING in place of MIN_LONG_STRING.
[pspp-builds.git]
/
src
/
data
/
value.c
diff --git
a/src/data/value.c
b/src/data/value.c
index 71a2dc9451cc9878dc2a6acd3fa24d215db58d41..ce050c01668a47652e12bf9746e14deac2e58f9d 100644
(file)
--- a/
src/data/value.c
+++ b/
src/data/value.c
@@
-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
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
}
/* Same as value_init, except that memory for VALUE (if