SF.net SVN: geany:[3096] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Oct 15 12:24:48 UTC 2008


Revision: 3096
          http://geany.svn.sourceforge.net/geany/?rev=3096&view=rev
Author:   ntrel
Date:     2008-10-15 12:24:48 +0000 (Wed, 15 Oct 2008)

Log Message:
-----------
Fix mixed indentation (prevents vcdiff.c being detected as T/S).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/plugins/vcdiff.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-10-15 12:19:24 UTC (rev 3095)
+++ trunk/ChangeLog	2008-10-15 12:24:48 UTC (rev 3096)
@@ -7,6 +7,8 @@
    Fix showing desensitive widgets if no documents are open when a
    plugin is first loaded.
    Remove plugins_update_document_sensitive().
+ * plugins/vcdiff.c:
+   Fix mixed indentation (prevents vcdiff.c being detected as T/S).
 
 
 2008-10-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/plugins/vcdiff.c
===================================================================
--- trunk/plugins/vcdiff.c	2008-10-15 12:19:24 UTC (rev 3095)
+++ trunk/plugins/vcdiff.c	2008-10-15 12:24:48 UTC (rev 3096)
@@ -123,20 +123,20 @@
 	gchar *base_prev = g_strdup(":");
 
 	if (g_file_test(filename, G_FILE_TEST_IS_DIR))
-	    base = g_strdup(filename);
+		base = g_strdup(filename);
 	else
-	    base = g_path_get_dirname(filename);
+		base = g_path_get_dirname(filename);
 
 	while (strcmp(base, base_prev) != 0)
 	{
-	    gitdir = g_build_path("/", base, subdir, NULL);
-	    ret = g_file_test(gitdir, G_FILE_TEST_IS_DIR);
-	    g_free(gitdir);
-	    if (ret)
+		gitdir = g_build_path("/", base, subdir, NULL);
+		ret = g_file_test(gitdir, G_FILE_TEST_IS_DIR);
+		g_free(gitdir);
+		if (ret)
 			break;
-	    g_free(base_prev);
-	    base_prev = base;
-	    base = g_path_get_dirname(base);
+		g_free(base_prev);
+		base_prev = base;
+		base = g_path_get_dirname(base);
 	}
 
 	g_free(base);
@@ -164,9 +164,9 @@
 		return find_subdir(filename, vc->subdir);
 
 	if (g_file_test(filename, G_FILE_TEST_IS_DIR))
-	    base = g_strdup(filename);
+		base = g_strdup(filename);
 	else
-	    base = g_path_get_dirname(filename);
+		base = g_path_get_dirname(filename);
 	dir = g_build_path("/", base, vc->subdir, NULL);
 
 	ret = g_file_test(dir, G_FILE_TEST_IS_DIR);
@@ -341,7 +341,7 @@
 		/* CVS dump stuff to stderr when diff nested dirs */
 		if (strcmp(argv[0], "cvs") != 0 && NZV(std_error))
 		{
-		    p_dialogs->show_msgbox(1,
+			p_dialogs->show_msgbox(1,
 				_("%s exited with an error: \n%s."), argv[0], g_strstrip(std_error));
 		}
 		else if (NZV(std_output))


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