X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.c;h=fb9c81797f54a995c09a9e5d95ce872bdb935960;hb=4e8efdc4acb80fc1a3735228d29fca0cf86fee6d;hp=9833fb496f8a0be6dd3145fc7bbb334fe46b341f;hpb=b40baf410822471fbdeeec553693619d60d7c7b6;p=pspp diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index 9833fb496f..fb9c81797f 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2006, 2008, 2009 Free Software Foundation + Copyright (C) 2006, 2008, 2009, 2010 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -793,7 +793,7 @@ get_column_button_label (const PsppireSheetModel *model, gint col) PsppireDataStore *ds = PSPPIRE_DATA_STORE (model); if ( col >= psppire_dict_get_var_cnt (ds->dict) ) - return g_locale_to_utf8 (null_var_name, -1, 0, 0, 0); + return xstrdup (gettext (null_var_name)); pv = psppire_dict_get_variable (ds->dict, col); @@ -959,8 +959,7 @@ psppire_data_store_data_in (PsppireDataStore *ds, casenumber casenum, gint idx, FALSE); value_init (&value, width); ok = (datasheet_get_value (ds->datasheet, casenum, idx, &value) - && data_in (input, UTF8, fmt->type, 0, 0, 0, - dict->dict, &value, width) + && data_in (input, UTF8, fmt->type, 0, 0, dict->dict, &value, width) && datasheet_put_value (ds->datasheet, casenum, idx, &value)); value_destroy (&value, width);