static const gchar none[] = N_("None");
-gchar *
+const gchar *
measure_to_string (const struct variable *var, GError **err)
{
const gint measure = var_get_measure (var);
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007 Free Software Foundation
+ Copyright (C) 2007, 2011 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
extern const gchar *const measures[n_MEASURES + 1];
gchar *missing_values_to_string (const PsppireDict *dict, const struct variable *pv, GError **err);
-gchar *measure_to_string (const struct variable *var, GError **err);
+const gchar *measure_to_string (const struct variable *var, GError **err);
#endif
text);
g_free (text);
- text = measure_to_string (var, NULL);
g_string_append_printf (gstring, _("Measurement Level: %s\n"),
- text);
+ measure_to_string (var, NULL));
/* Value Labels */