projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d5f59
)
gui: Make .csv available for output export with File|Export.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Nov 2011 05:02:56 +0000
(22:02 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Nov 2011 05:02:56 +0000
(22:02 -0700)
The hard-coded 6 here was wrong: there are 7 file formats.
It's better to use the n_FT constant.
src/ui/gui/psppire-output-window.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-output-window.c
b/src/ui/gui/psppire-output-window.c
index 4793b3b305b007f8d10480ebf01875df96d29467..1e283bae896a6084183f79878eeebf405871bee5 100644
(file)
--- a/
src/ui/gui/psppire-output-window.c
+++ b/
src/ui/gui/psppire-output-window.c
@@
-558,7
+558,7
@@
create_file_type_list (void)
GtkTreeIter iter;
GtkListStore *list = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
- for (i = 0 ; i <
6
; ++i)
+ for (i = 0 ; i <
n_FT
; ++i)
{
gtk_list_store_append (list, &iter);
gtk_list_store_set (list, &iter,