Skip to content

Commit 233e188

Browse files
committed
Fix MacVim-specific C files to pass coding style test
1 parent 325e09d commit 233e188

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/gui.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,8 @@ gui_init_font(char_u *font_list, int fontset UNUSED)
929929
// gui_mch_init_font() is called with "*" it brings up the
930930
// dialog and returns immediately. In this case we don't want
931931
// it to be called again with NULL, so return here.
932-
if (STRCMP(font_name, "*") == 0) {
932+
if (STRCMP(font_name, "*") == 0)
933+
{
933934
gui_mch_init_font(font_name, FALSE);
934935
return FALSE;
935936
}

src/menu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,10 +1912,10 @@ menu_is_child_of_popup(vimmenu_T *menu)
19121912
int
19131913
menu_is_toolbar(char_u *name)
19141914
{
1915-
return (STRNCMP(name, "ToolBar", 7) == 0)
1916-
#if defined(FEAT_TOUCHBAR)
1915+
return (STRNCMP(name, "ToolBar", 7) == 0)
1916+
#if defined(FEAT_TOUCHBAR)
19171917
|| (STRNCMP(name, "TouchBar", 8) == 0)
1918-
#endif
1918+
#endif
19191919
;
19201920
}
19211921

src/option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ EXTERN int fuoptions_bgcolor;
607607
#define FUOPT_MAXHORZ 0x002
608608
#define FUOPT_BGCOLOR_HLGROUP 0x004 // if set, fuoptions_bgcolor
609609
// is a highlight group
610-
// id. Else, it's an explicit
610+
// id. Else, it's an explicit
611611
// argb color.
612612
#endif
613613
EXTERN int p_gd; // 'gdefault'

0 commit comments

Comments
 (0)