[Goodies-commits] r5657 - xfbib/branches/gobject/src

David Gustafsson tssj at xfce.org
Fri Oct 17 09:31:28 CEST 2008


Author: tssj
Date: 2008-10-17 07:31:28 +0000 (Fri, 17 Oct 2008)
New Revision: 5657

Modified:
   xfbib/branches/gobject/src/main.c
Log:
Fixed an file-opening bug


Modified: xfbib/branches/gobject/src/main.c
===================================================================
--- xfbib/branches/gobject/src/main.c	2008-10-17 06:49:41 UTC (rev 5656)
+++ xfbib/branches/gobject/src/main.c	2008-10-17 07:31:28 UTC (rev 5657)
@@ -98,7 +98,7 @@
 		n = g_strv_length(input_files);
 		
 		if (n == 1) {
-			if ((output_file = xfbib_file_io_open(NULL)) != NULL) {
+			if ((output_file = xfbib_file_io_open(input_files[0])) != NULL) {
 				xfbib_state_set_filename(state, output_file);
 				xfbib_window_set_title(XFBIB_WINDOW(window), output_file);
 			}




More information about the Goodies-commits mailing list