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:
a033ea7
)
gui: Fix brown-paper-bag bug in output file name selection.
author
Ben Pfaff
<blp@gnu.org>
Thu, 9 Jul 2009 03:12:11 +0000
(20:12 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Thu, 9 Jul 2009 03:12:11 +0000
(20:12 -0700)
Thanks to michel@cecaps.ufmg.br for reporting the bug and the fix.
src/ui/gui/output-viewer.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/output-viewer.c
b/src/ui/gui/output-viewer.c
index 4bcd580a9fb078176fd4fdd222c7369f9228fe9b..09fd4f66f95ba83aff89692d7181115040b9d198 100644
(file)
--- a/
src/ui/gui/output-viewer.c
+++ b/
src/ui/gui/output-viewer.c
@@
-278,6
+278,8
@@
reload_viewer (struct output_viewer *ov)
}
+#define OUTPUT_FILE_NAME "psppire.txt"
+
const char *
output_file_name (void)
{
@@
-285,7
+287,7
@@
output_file_name (void)
static char *filename = NULL;
if ( NULL == filename )
- filename = xasprintf ("%s%s", dir,
output_file_name ()
);
+ filename = xasprintf ("%s%s", dir,
OUTPUT_FILE_NAME
);
return filename;