Commit c9819741 authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid

Little correction on the hang check

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

svn path=/trunk/; revision=4808
parent 2dd22dc2
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
2009-02-28 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/gdb/debugger.c:
......@@ -527,8 +527,11 @@ cpp_java_assist_create_word_completion_cache (CppJavaAssist *assist)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment