X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fspreadsheet-test.c;h=b8ce870d4635a07917d882d9f479294d81be46df;hb=a49b940e58f148bf111c647d9b4822025636ff80;hp=da63c0ff4a1210aebdf95188cfdb9ac005731118;hpb=dc331e08118a1c299a41069f6f51183176b27621;p=pspp diff --git a/src/ui/gui/spreadsheet-test.c b/src/ui/gui/spreadsheet-test.c index da63c0ff4a..b8ce870d46 100644 --- a/src/ui/gui/spreadsheet-test.c +++ b/src/ui/gui/spreadsheet-test.c @@ -83,7 +83,7 @@ on_clicked (GtkButton *button, struct xxx *stuff) else { char *ss = xzalloc (width + 1); - memcpy (ss, value_str (val, width), width); + memcpy (ss, val->s, width); printf ("%s ", ss); free (ss);