[Goodies-commits] r3672 - ristretto/trunk/src

Stephan Arts stephan at xfce.org
Thu Dec 6 01:04:59 CET 2007


Author: stephan
Date: 2007-12-06 00:04:59 +0000 (Thu, 06 Dec 2007)
New Revision: 3672

Modified:
   ristretto/trunk/src/main.c
Log:
Fix segfault



Modified: ristretto/trunk/src/main.c
===================================================================
--- ristretto/trunk/src/main.c	2007-12-05 05:20:19 UTC (rev 3671)
+++ ristretto/trunk/src/main.c	2007-12-06 00:04:59 UTC (rev 3672)
@@ -337,7 +337,10 @@
         {
             ThunarVfsPath *path;
             if (g_path_is_absolute(argv[1]))
+            {
                 path = thunar_vfs_path_new(argv[1], NULL);
+                path_dir = g_strdup(argv[1]);
+            }
             else
             {
                 gchar *base_dir = g_get_current_dir();




More information about the Goodies-commits mailing list