[gnome-builder] clang: actually limit completion items
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: actually limit completion items
- Date: Tue, 19 May 2015 10:16:20 +0000 (UTC)
commit 355a821b2ceb088dad795839a85a84791226521f
Author: Christian Hergert <christian hergert me>
Date: Tue May 19 03:15:16 2015 -0700
clang: actually limit completion items
libide/clang/ide-clang-completion-provider.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/clang/ide-clang-completion-provider.c b/libide/clang/ide-clang-completion-provider.c
index e29438a..382c4b7 100644
--- a/libide/clang/ide-clang-completion-provider.c
+++ b/libide/clang/ide-clang-completion-provider.c
@@ -161,7 +161,7 @@ filter_list (GPtrArray *ar,
* We should be a bit more intelligent about which items we accept.
* The results don't come to us in "most important" order.
*/
- if (G_UNLIKELY (ar->len == MAX_COMPLETION_ITEMS))
+ if (G_UNLIKELY (matched->len == MAX_COMPLETION_ITEMS))
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]