projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid assertion failure pasting from a dictionary with foreign encoding.
[pspp]
/
src
/
data
/
dictionary.c
diff --git
a/src/data/dictionary.c
b/src/data/dictionary.c
index f3c76c6e6d25bdf1c67b2796c2934295ee5be881..155d4bf4328501f07c7f7bebcfabb89883d3146a 100644
(file)
--- a/
src/data/dictionary.c
+++ b/
src/data/dictionary.c
@@
-386,7
+386,7
@@
dict_lookup_var (const struct dictionary *d, const char *name)
struct variable *target ;
struct variable *result ;
- if ( ! var_is_
valid
_name (name, false))
+ if ( ! var_is_
plausible
_name (name, false))
return NULL;
target = var_create (name, 0);