projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The length of the string is now not always the
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-data-editor.c
diff --git
a/src/ui/gui/psppire-data-editor.c
b/src/ui/gui/psppire-data-editor.c
index a2ca1d8851c2f5f0b0f7db905cad41ca1a1153e0..38250f7ea6959a76ab18e6f1db1458ffb8ed2e0f 100644
(file)
--- a/
src/ui/gui/psppire-data-editor.c
+++ b/
src/ui/gui/psppire-data-editor.c
@@
-1646,7
+1646,8
@@
enum {
/* Perform data_out for case CC, variable V, appending to STRING */
static void
/* Perform data_out for case CC, variable V, appending to STRING */
static void
-data_out_g_string (GString *string, const struct dictionary *dict, const struct variable *v,
+data_out_g_string (GString *string, const struct dictionary *dict,
+ const struct variable *v,
const struct ccase *cc)
{
const struct fmt_spec *fs = var_get_print_format (v);
const struct ccase *cc)
{
const struct fmt_spec *fs = var_get_print_format (v);
@@
-1654,7
+1655,7
@@
data_out_g_string (GString *string, const struct dictionary *dict, const struct
char *s = data_out (val, dict_get_encoding (dict), fs);
char *s = data_out (val, dict_get_encoding (dict), fs);
- g_string_append
_len (string, s, fs->w
);
+ g_string_append
(string, s
);
g_free (s);
}
g_free (s);
}