SF.net SVN: geany-plugins:[1402] trunk/geany-plugins/geanygendoc/src/ ggd-utils.c

colombanw at users.sourceforge.net colombanw at xxxxx
Sun May 23 21:33:21 UTC 2010


Revision: 1402
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1402&view=rev
Author:   colombanw
Date:     2010-05-23 21:33:20 +0000 (Sun, 23 May 2010)

Log Message:
-----------
GeanyGenDoc: Fix paths to user files on Windows

Don't unnecessarily prefix the paths with the directory separator
since they already are absolute and it brakes them on Windows
(\C:\...).

Modified Paths:
--------------
    trunk/geany-plugins/geanygendoc/src/ggd-utils.c

Modified: trunk/geany-plugins/geanygendoc/src/ggd-utils.c
===================================================================
--- trunk/geany-plugins/geanygendoc/src/ggd-utils.c	2010-05-23 19:32:15 UTC (rev 1401)
+++ trunk/geany-plugins/geanygendoc/src/ggd-utils.c	2010-05-23 21:33:20 UTC (rev 1402)
@@ -151,8 +151,8 @@
   g_return_val_if_fail (name != NULL, NULL);
   g_return_val_if_fail (error == NULL || *error == NULL, NULL);
   
-  user_dir = g_build_filename (G_DIR_SEPARATOR_S, geany->app->configdir,
-                               "plugins", GGD_PLUGIN_CNAME, section, NULL);
+  user_dir = g_build_filename (geany->app->configdir, "plugins",
+                               GGD_PLUGIN_CNAME, section, NULL);
   system_dir = g_build_filename (PKGDATADIR, GGD_PLUGIN_CNAME, section, NULL);
   user_path = g_build_filename (user_dir, name, NULL);
   system_path = g_build_filename (system_dir, name, NULL);


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



More information about the Plugins-Commits mailing list