Move definition of OUTPUT_FILE_NAME to before first use.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 1 Nov 2008 06:10:50 +0000 (15:10 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 1 Nov 2008 06:10:50 +0000 (15:10 +0900)
Problem manifested itself when building with cygwin.
Reported by unknown-1

src/ui/gui/output-viewer.c

index c00e8c60dbe04ac74d0f3ee0369522dc7fb32c7d..2b0c4af8094dbdd1668d7c6254d3f2e7f018ef18 100644 (file)
@@ -194,6 +194,7 @@ reload_the_viewer (void)
   reload_viewer (the_output_viewer);
 }
 
+#define OUTPUT_FILE_NAME "psppire.txt"
 
 void
 reload_viewer (struct output_viewer *ov)
@@ -277,7 +278,7 @@ reload_viewer (struct output_viewer *ov)
 }
 
 
-#define OUTPUT_FILE_NAME "psppire.txt"
+
 
 const char *
 output_file_name (void)