[anjuta] language-support-cpp-java: bgo #593291 - fix small typo



commit 4c569cecb53e04d65defc76a43fd277a70f6c0b2
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Wed Sep 2 22:19:55 2009 +0200

    language-support-cpp-java: bgo #593291 -  fix small typo

 plugins/language-support-cpp-java/plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/plugin.c b/plugins/language-support-cpp-java/plugin.c
index a00ffdb..8683abd 100644
--- a/plugins/language-support-cpp-java/plugin.c
+++ b/plugins/language-support-cpp-java/plugin.c
@@ -1063,7 +1063,7 @@ get_line_indentation_base (CppJavaPlugin *plugin,
 			/* If we encounter a block-start before anything else, the
 			 * statement could hardly be incomplte.
 			 */
-			if (point_ch == '}' && *incomplete_statement == -1)
+			if (point_ch == '{' && *incomplete_statement == -1)
 				*incomplete_statement = 0;
 			
 			break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]