projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include format.h only where necessary.
[pspp-builds.git]
/
src
/
ui
/
gui
/
var-display.c
diff --git
a/src/ui/gui/var-display.c
b/src/ui/gui/var-display.c
index 114156d7476a09e098f8ba9d34be4713bdc232a8..c69730f6f2a104abf607d64a9a335bb15bb15d7e 100644
(file)
--- a/
src/ui/gui/var-display.c
+++ b/
src/ui/gui/var-display.c
@@
-2,9
+2,9
@@
#include "var-display.h"
#include <data/variable.h>
#include "var-display.h"
#include <data/variable.h>
+#include <data/format.h>
#include <stdlib.h>
#include <stdlib.h>
-#include "var-sheet.h"
#include <gettext.h>
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
#include <gettext.h>
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
@@
-63,7
+63,7
@@
missing_values_to_string (const struct variable *pv, GError **err)
for (i = 0 ; i < n; ++i )
{
union value v;
for (i = 0 ; i < n; ++i )
{
union value v;
- mv_
peek
_value (miss, &v, i);
+ mv_
get
_value (miss, &v, i);
mv[i] = value_to_text (v, *fmt);
if ( i > 0 )
g_string_append (gstr, ", ");
mv[i] = value_to_text (v, *fmt);
if ( i > 0 )
g_string_append (gstr, ", ");
@@
-78,7
+78,7
@@
missing_values_to_string (const struct variable *pv, GError **err)
GString *gstr = g_string_sized_new (10);
gchar *l, *h;
union value low, high;
GString *gstr = g_string_sized_new (10);
gchar *l, *h;
union value low, high;
- mv_
peek
_range (miss, &low.f, &high.f);
+ mv_
get
_range (miss, &low.f, &high.f);
l = value_to_text (low, *fmt);
h = value_to_text (high, *fmt);
l = value_to_text (low, *fmt);
h = value_to_text (high, *fmt);
@@
-91,7
+91,7
@@
missing_values_to_string (const struct variable *pv, GError **err)
{
gchar *ss = 0;
union value v;
{
gchar *ss = 0;
union value v;
- mv_
peek
_value (miss, &v, 0);
+ mv_
get
_value (miss, &v, 0);
ss = value_to_text (v, *fmt);
ss = value_to_text (v, *fmt);