Skip to content

Commit

Permalink
Make the updown variables static since they're
Browse files Browse the repository at this point in the history
no longer accessed outside cmdbuf.c.
  • Loading branch information
gwsw committed May 14, 2024
1 parent ac0230c commit e735419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmdbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ static int prompt_col; /* Column of cursor just after prompt */
static char *cp; /* Pointer into cmdbuf */
static int cmd_offset; /* Index into cmdbuf of first displayed char */
static lbool literal; /* Next input char should not be interpreted */
public size_t updown_match; /* Prefix length in up/down movement */
public lbool have_updown_match = FALSE;
static size_t updown_match; /* Prefix length in up/down movement */
static lbool have_updown_match = FALSE;

#if TAB_COMPLETE_FILENAME
static int cmd_complete(int action);
Expand Down

0 comments on commit e735419

Please sign in to comment.