projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Converted strings to utf8 before passing to gtksheet. Should work properly now with
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-dict.c
diff --git
a/src/ui/gui/psppire-dict.c
b/src/ui/gui/psppire-dict.c
index f919650491d993f565acc7cb74b9150f30064f70..5f2975a1035016d45bf7fcde5384ce211edc3400 100644
(file)
--- a/
src/ui/gui/psppire-dict.c
+++ b/
src/ui/gui/psppire-dict.c
@@
-212,10
+212,10
@@
static gchar *
auto_generate_var_name(PsppireDict *dict)
{
gint d = 0;
- static gchar name[
255
];
+ static gchar name[
10
];
- while (g_snprintf(name,
255
, "VAR%05d",d++),
+ while (g_snprintf(name,
10
, "VAR%05d",d++),
psppire_dict_lookup_var(dict, name))
;