X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.c;h=0cb8ef913b4c7515f47bf5c0715232728c3bbbf8;hb=8acca2de53c1852f38726f70fc6516b34732a79f;hp=eeaf31d660548dd7922295a2dae1f25615babfb9;hpb=f43378497b8400e9c22a3485c534693dc1bc9554;p=pspp-builds.git diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index eeaf31d6..0cb8ef91 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -28,6 +28,7 @@ #include #include +#include #include #include @@ -506,7 +507,7 @@ psppire_data_store_get_string (const GSheetModel *model, gint row, gint column) /* Converts binary value V into printable form in the exactly FP->W character in buffer S according to format specification FP. No null terminator is appended to the buffer. */ - data_out (s->str, fp, v); + data_out (v, fp, s->str); text = pspp_locale_to_utf8 (s->str, fp->w, 0); g_string_free (s, TRUE);