state.runctx now retains bitwidth as cfg.curctx

Didn't test this out, but judging by the name of the variable this
should be a bugfix
This commit is contained in:
0xACE 2021-02-11 04:11:54 +01:00
parent 16de133fea
commit 67962efbd5
1 changed files with 2 additions and 2 deletions

View File

@ -324,13 +324,13 @@ typedef struct {
uint_t picker : 1; /* Write selection to user-specified file */
uint_t pickraw : 1; /* Write selection to stdout before exit */
uint_t runplugin : 1; /* Choose plugin mode */
uint_t runctx : 2; /* The context in which plugin is to be run */
uint_t runctx : 3; /* The context in which plugin is to be run */
uint_t selmode : 1; /* Set when selecting files */
uint_t oldcolor : 1; /* Use older colorscheme */
uint_t stayonsel : 1; /* Disable auto-proceed on select */
uint_t dirctx : 1; /* Show dirs in context color */
uint_t uidgid : 1; /* Show owner and group info */
uint_t reserved : 10; /* Adjust when adding/removing a field */
uint_t reserved : 9; /* Adjust when adding/removing a field */
} runstate;
/* Contexts or workspaces */