tweaks: reshuffle a line and adjust indentation after previous change
parent
bd4eed9cb1
commit
e35b6636ab
|
@ -1067,6 +1067,8 @@ void regenerate_screen(void)
|
|||
/* Invert the given global flag and adjust things for its new value. */
|
||||
void toggle_this(int flag)
|
||||
{
|
||||
bool enabled = !ISSET(flag);
|
||||
|
||||
TOGGLE(flag);
|
||||
focusing = FALSE;
|
||||
|
||||
|
@ -1126,8 +1128,6 @@ void toggle_this(int flag)
|
|||
if ((ISSET(MINIBAR) || ISSET(ZERO)) && (flag == NO_HELP || flag == LINE_NUMBERS))
|
||||
return;
|
||||
|
||||
bool enabled = ISSET(flag);
|
||||
|
||||
if (flag == NO_HELP || flag == NO_SYNTAX)
|
||||
enabled = !enabled;
|
||||
|
||||
|
|
Loading…
Reference in New Issue