Skip to content

Commit

Permalink
Initialize status_empty flag to FALSE
Browse files Browse the repository at this point in the history
Fixes cursor restoring when loading the status view at startup.
  • Loading branch information
jonas committed Jan 30, 2009
1 parent 792d0e0 commit c571930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tig.c
Expand Up @@ -6112,7 +6112,7 @@ static bool cursed = FALSE;
/* The status window is used for polling keystrokes. */
static WINDOW *status_win;

static bool status_empty = TRUE;
static bool status_empty = FALSE;

/* Update status and title window. */
static void
Expand Down

0 comments on commit c571930

Please sign in to comment.