projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INPUT PROGRAM: Use a separate dataset for the input program.
[pspp]
/
src
/
language
/
utilities
/
set.q
diff --git
a/src/language/utilities/set.q
b/src/language/utilities/set.q
index 8f59156e2b80a90b14c2f227f6ef773d712322ed..9a7e841707f535076bf1ad0126f454dd17aa1ba8 100644
(file)
--- a/
src/language/utilities/set.q
+++ b/
src/language/utilities/set.q
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012
, 2013
Free Software Foundation, Inc.
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
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
@@
-875,7
+875,8
@@
show_width (const struct dataset *ds UNUSED)
static char *
show_workspace (const struct dataset *ds UNUSED)
{
static char *
show_workspace (const struct dataset *ds UNUSED)
{
- return xasprintf ("%d", settings_get_workspace ());
+ size_t ws = settings_get_workspace () / 1024L;
+ return xasprintf ("%zu", ws);
}
static char *
}
static char *