SF.net SVN: geany:[4545] branches/sm/src/sm.c

statc at users.sourceforge.net statc at xxxxx
Sun Jan 24 20:23:33 UTC 2010


Revision: 4545
          http://geany.svn.sourceforge.net/geany/?rev=4545&view=rev
Author:   statc
Date:     2010-01-24 20:23:33 +0000 (Sun, 24 Jan 2010)

Log Message:
-----------
Fix restart command.

Modified Paths:
--------------
    branches/sm/src/sm.c

Modified: branches/sm/src/sm.c
===================================================================
--- branches/sm/src/sm.c	2010-01-24 20:23:14 UTC (rev 4544)
+++ branches/sm/src/sm.c	2010-01-24 20:23:33 UTC (rev 4545)
@@ -320,6 +320,8 @@
 		 */
 	if (strchr(argv0, G_DIR_SEPARATOR) == NULL)
 		executable_path = argv0;
+	else if (g_path_is_absolute(argv0))
+		executable_path = argv0;
 	else
 	{
 		gchar * curdir = g_get_current_dir();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list