Skip to content

Commit

Permalink
Add some trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed May 1, 2017
1 parent e9e1f79 commit 12db04a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions options.c
Expand Up @@ -113,7 +113,7 @@ int colors[NR_COLORS] = {

COLOR_WHITE | BRIGHT,
COLOR_BLUE,
COLOR_WHITE | BRIGHT
COLOR_WHITE | BRIGHT,
};

int attrs[NR_ATTRS] = {
Expand All @@ -125,7 +125,7 @@ int attrs[NR_ATTRS] = {
A_NORMAL,
A_NORMAL,
A_NORMAL,
A_NORMAL
A_NORMAL,
};

/* uninitialized option variables */
Expand Down Expand Up @@ -1385,7 +1385,7 @@ static const char * const color_names[NR_COLORS] = {
"color_win_sel_bg",
"color_win_sel_fg",
"color_win_title_bg",
"color_win_title_fg"
"color_win_title_fg",
};

static const char * const attr_names[NR_ATTRS] = {
Expand All @@ -1398,7 +1398,7 @@ static const char * const attr_names[NR_ATTRS] = {
"color_win_inactive_cur_sel_attr",
"color_win_inactive_sel_attr",
"color_win_sel_attr",
"color_win_title_attr"
"color_win_title_attr",
};

LIST_HEAD(option_head);
Expand Down
6 changes: 3 additions & 3 deletions ui_curses.c
Expand Up @@ -194,7 +194,7 @@ static unsigned char cursed_to_bg_idx[NR_CURSED] = {
COLOR_TITLELINE_BG,
COLOR_WIN_BG,
COLOR_CMDLINE_BG,
COLOR_CMDLINE_BG
COLOR_CMDLINE_BG,
};

static unsigned char cursed_to_fg_idx[NR_CURSED] = {
Expand All @@ -216,7 +216,7 @@ static unsigned char cursed_to_fg_idx[NR_CURSED] = {
COLOR_TITLELINE_FG,
COLOR_WIN_DIR,
COLOR_ERROR,
COLOR_INFO
COLOR_INFO,
};

static unsigned char cursed_to_attr_idx[NR_CURSED] = {
Expand All @@ -238,7 +238,7 @@ static unsigned char cursed_to_attr_idx[NR_CURSED] = {
COLOR_TITLELINE_ATTR,
COLOR_WIN_ATTR,
COLOR_CMDLINE_ATTR,
COLOR_CMDLINE_ATTR
COLOR_CMDLINE_ATTR,
};

/* index is CURSED_*, value is fucking color pair */
Expand Down

0 comments on commit 12db04a

Please sign in to comment.