SF.net SVN: geany-plugins:[415] branches/GeanyVC_menu_redesign/geanyvc.c

kugel- at users.sourceforge.net kugel- at xxxxx
Sat Jan 31 19:59:05 UTC 2009


Revision: 415
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=415&view=rev
Author:   kugel-
Date:     2009-01-31 19:59:05 +0000 (Sat, 31 Jan 2009)

Log Message:
-----------
convert spaces-indentation introduced in the previous commit to tabs

Modified Paths:
--------------
    branches/GeanyVC_menu_redesign/geanyvc.c

Modified: branches/GeanyVC_menu_redesign/geanyvc.c
===================================================================
--- branches/GeanyVC_menu_redesign/geanyvc.c	2009-01-31 19:53:01 UTC (rev 414)
+++ branches/GeanyVC_menu_redesign/geanyvc.c	2009-01-31 19:59:05 UTC (rev 415)
@@ -642,7 +642,7 @@
 vcdiff_dir_activated(G_GNUC_UNUSED GtkMenuItem * menuitem, gint flags)
 {
 	gchar *text = NULL;
-    gchar *dir;
+	gchar *dir;
 	const VC_RECORD *vc;
 	GeanyDocument *doc;
 
@@ -657,22 +657,22 @@
 	vc = find_vc(doc->file_name);
 	g_return_if_fail(vc);
 
-    if (flags & FLAG_BASEDIR)
-    {
-        dir = vc->get_base_dir(doc->file_name);
-    }
-    else if (flags & FLAG_DIR)
-    {
-        dir = g_path_get_dirname(doc->file_name);
-    }
-    else
-        return;
-    g_return_if_fail(dir);
+	if (flags & FLAG_BASEDIR)
+	{
+		dir = vc->get_base_dir(doc->file_name);
+	}
+	else if (flags & FLAG_DIR)
+	{
+		dir = g_path_get_dirname(doc->file_name);
+	}
+	else
+		return;
+	g_return_if_fail(dir);
 
 	execute_command(vc, &text, NULL, dir, VC_COMMAND_DIFF_DIR, NULL, NULL);
 	if (text)
 	{
-        gchar *name;
+		gchar *name;
 		name = g_strconcat(dir, ".vc.diff", NULL);
 		show_output(text, name, NULL);
 		g_free(text);


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