[gnome-characters/wip/exalm/emoji: 2/5] gc: Fix indentation
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/wip/exalm/emoji: 2/5] gc: Fix indentation
- Date: Thu, 10 Mar 2022 18:40:44 +0000 (UTC)
commit 758c26b1e28f4b178a726adc1029aa46ada34566
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Mar 10 22:04:17 2022 +0400
gc: Fix indentation
lib/gc.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/lib/gc.c b/lib/gc.c
index a8a8abe..efd05b3 100644
--- a/lib/gc.c
+++ b/lib/gc.c
@@ -649,20 +649,20 @@ filter_keywords (GcCharacterIter *iter, gunichar uc)
p = g_strstr_len (buffer, UNINAME_MAX, keyword);
if (!p)
- return FALSE;
+ return FALSE;
if (iter->flags & GC_SEARCH_FLAG_WORD)
- {
- while (p)
- {
- if (p == buffer || g_ascii_isspace (*(p - 1)))
- break;
- p = g_strstr_len (p + 1, UNINAME_MAX, keyword);
- }
-
- if (!p)
- return FALSE;
- }
+ {
+ while (p)
+ {
+ if (p == buffer || g_ascii_isspace (*(p - 1)))
+ break;
+ p = g_strstr_len (p + 1, UNINAME_MAX, keyword);
+ }
+
+ if (!p)
+ return FALSE;
+ }
}
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]