anjuta r4808 - in trunk: . plugins/language-support-cpp-java
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4808 - in trunk: . plugins/language-support-cpp-java
- Date: Sat, 28 Feb 2009 12:41:46 +0000 (UTC)
Author: jhs
Date: Sat Feb 28 12:41:46 2009
New Revision: 4808
URL: http://svn.gnome.org/viewvc/anjuta?rev=4808&view=rev
Log:
2009-02-28 Johannes Schmid <jhs gnome org>
* plugins/language-support-cpp-java/cpp-java-assist.c
(cpp_java_assist_create_word_completion_cache):
Little correction on the hang check
Modified:
trunk/ChangeLog
trunk/plugins/language-support-cpp-java/cpp-java-assist.c
Modified: trunk/plugins/language-support-cpp-java/cpp-java-assist.c
==============================================================================
--- trunk/plugins/language-support-cpp-java/cpp-java-assist.c (original)
+++ trunk/plugins/language-support-cpp-java/cpp-java-assist.c Sat Feb 28 12:41:46 2009
@@ -527,8 +527,11 @@
MAX_COMPLETIONS);
cpp_java_assist_destroy_completion_cache (assist, FALSE);
+
+ if (!assist->priv->pre_word || strlen(assist->priv->pre_word) < 3)
+ return FALSE;
- if (!assist->priv->editor_only && assist->priv->pre_word && strlen(assist->priv->pre_word) > 3)
+ if (!assist->priv->editor_only)
{
gchar *pattern = g_strconcat (assist->priv->pre_word, "%", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]