[anjuta] file-wizard: #616810 Error when creating new c source and header



commit d3487957e0b164e73923de37ad1a7ea344e75151
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Thu May 20 23:02:44 2010 +0200

    file-wizard: #616810 Error when creating new c source and header

 plugins/file-wizard/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/file-wizard/file.c b/plugins/file-wizard/file.c
index 1fbf6d3..6c7d89a 100644
--- a/plugins/file-wizard/file.c
+++ b/plugins/file-wizard/file.c
@@ -358,7 +358,7 @@ on_new_file_okbutton_clicked(GtkWidget *window, GdkEvent *event,
 			if (file_list->next)
 			{
 				/* Save header file */
-				ianjuta_file_savable_save_as (IANJUTA_FILE_SAVABLE (teh), (GFile *)file_list->data, NULL);		
+				ianjuta_file_savable_save_as (IANJUTA_FILE_SAVABLE (teh), (GFile *)file_list->next->data, NULL);		
 			}		
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]