diff src/layout_util.c @ 1652:58a5d1e01e33

run external commands from current directory even with no files
author nadvornik
date Fri, 19 Jun 2009 22:34:52 +0000
parents cc3ccf3c7c27
children 349ebc02b8e2
line wrap: on
line diff
--- a/src/layout_util.c	Thu Jun 18 20:46:33 2009 +0000
+++ b/src/layout_util.c	Fri Jun 19 22:34:52 2009 +0000
@@ -998,7 +998,7 @@
 		layout_exit_fullscreen(lw);
 
 	list = layout_selection_list(lw);
-	file_util_start_editor_from_filelist(key, list, lw->window);
+	file_util_start_editor_from_filelist(key, list, layout_get_path(lw), lw->window);
 	filelist_free(list);
 }