]> granicus.if.org Git - neomutt/commitdiff
add missing {}s
authorRichard Russon <rich@flatcap.org>
Fri, 29 Dec 2017 11:55:30 +0000 (11:55 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 1 Jan 2018 12:10:19 +0000 (12:10 +0000)
init.c
keymap.c
pager.c
query.c

diff --git a/init.c b/init.c
index 14d16fb862de305dd91c0099cce402ec0f8094e4..0308d8cf49eab6d2b46665244837c6bf64950f9e 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1711,6 +1711,7 @@ static int parse_unalias(struct Buffer *buf, struct Buffer *s,
       break;
     }
     else
+    {
       for (tmp = Aliases; tmp; tmp = tmp->next)
       {
         if (mutt_str_strcasecmp(buf->data, tmp->name) == 0)
@@ -1732,6 +1733,7 @@ static int parse_unalias(struct Buffer *buf, struct Buffer *s,
         }
         last = tmp;
       }
+    }
   } while (MoreArgs(s));
   return 0;
 }
@@ -2661,6 +2663,7 @@ static int parse_set(struct Buffer *tmp, struct Buffer *s, unsigned long data,
       mutt_extract_token(tmp, s, 0);
 
       if (parse_regex(idx, tmp, err))
+      {
         /* $reply_regexp and $alternates require special treatment */
         if (Context && Context->msgcount &&
             (mutt_str_strcmp(MuttVars[idx].name, "reply_regexp") == 0))
@@ -2679,6 +2682,7 @@ static int parse_set(struct Buffer *tmp, struct Buffer *s, unsigned long data,
             }
           }
         }
+      }
     }
     else if (DTYPE(MuttVars[idx].type) == DT_MAGIC)
     {
index 01db3a6b4f4e12365c74132b55aa8e863026818c..2cf66042aca0ec88cd8d1c41a82a9afbc07647c3 100644 (file)
--- a/keymap.c
+++ b/keymap.c
@@ -494,6 +494,7 @@ int km_dokey(int menu)
       if (ImapKeepalive >= i)
         imap_keepalive();
       else
+      {
         while (ImapKeepalive && ImapKeepalive < i)
         {
           timeout(ImapKeepalive * 1000);
@@ -508,6 +509,7 @@ int km_dokey(int menu)
           i -= ImapKeepalive;
           imap_keepalive();
         }
+      }
     }
 #endif
 
diff --git a/pager.c b/pager.c
index 1b85d97871a71fcf2ecae61964a7bf4361a3359b..97887a178a39bfd1410d40b465ce72b3055fb8f9 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -1897,12 +1897,14 @@ static void pager_menu_redraw(struct Menu *pager_menu)
                         &rd->max_line, rd->has_types | rd->search_flag | (rd->flags & MUTT_PAGER_NOWRAP),
                         &rd->quote_list, &rd->q_level, &rd->force_redraw,
                         &rd->search_re, rd->pager_window) == 0)
+    {
       if (!rd->line_info[i].continuation && ++j == rd->lines)
       {
         rd->topline = i;
         if (!rd->search_flag)
           break;
       }
+    }
   }
 
 #ifdef USE_SIDEBAR
diff --git a/query.c b/query.c
index a33b04a9e7abe7f25625d95a61c4f2bc8492c49c..38ea7ba71f468d452c9522d3ab2fdf329aa0d966 100644 (file)
--- a/query.c
+++ b/query.c
@@ -472,12 +472,14 @@ static void query_menu(char *buf, size_t buflen, struct Query *results, int retb
           else
           {
             for (i = 0; i < menu->max; i++)
+            {
               if (QueryTable[i].tagged)
               {
                 struct Address *a = result_to_addr(QueryTable[i].data);
                 mutt_addr_append(&msg->env->to, a, false);
                 mutt_addr_free(&a);
               }
+            }
           }
           ci_send_message(0, msg, NULL, Context, NULL);
           menu->redraw = REDRAW_FULL;