Blame SOURCES/ibus-2076-fix-16-candidates.patch

e1b0f3
From 6aab10f2e5a8e10dac9b007eff19b26990461790 Mon Sep 17 00:00:00 2001
e1b0f3
From: fujiwarat <takao.fujiwara1@gmail.com>
e1b0f3
Date: Thu, 14 Feb 2019 17:37:39 +0900
e1b0f3
Subject: [PATCH] ui/gtk3: Fix assert with 16 candidates
e1b0f3
e1b0f3
BUG=https://github.com/ibus/ibus/issues/2076
e1b0f3
---
e1b0f3
 ui/gtk3/candidatearea.vala | 2 +-
e1b0f3
 1 file changed, 1 insertion(+), 1 deletion(-)
e1b0f3
e1b0f3
diff --git a/ui/gtk3/candidatearea.vala b/ui/gtk3/candidatearea.vala
e1b0f3
index f590cf3a..781ecd1e 100644
e1b0f3
--- a/ui/gtk3/candidatearea.vala
e1b0f3
+++ b/ui/gtk3/candidatearea.vala
e1b0f3
@@ -109,7 +109,7 @@ class CandidateArea : Gtk.Box {
e1b0f3
         m_focus_candidate = focus_candidate;
e1b0f3
         m_show_cursor = show_cursor;
e1b0f3
 
e1b0f3
-        assert(candidates.length < 16);
e1b0f3
+        assert(candidates.length <= 16);
e1b0f3
         for (int i = 0 ; i < 16 ; i++) {
e1b0f3
             Gtk.Label label = m_candidates[i];
e1b0f3
             bool visible = false;
e1b0f3
-- 
e1b0f3
2.21.0
e1b0f3