diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-10-02 13:08:07 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-10-02 13:08:07 -0700 |
| commit | f0016a2d101b0b1eb02b14541947f69e734db319 (patch) | |
| tree | 4e79f055ac1ef34901f116a4d6837adc96353d16 | |
| parent | e531e1766c960148fe139ce131bec87ff16cef3a (diff) | |
Removed BB_QUIT
| -rw-r--r-- | bb.c | 2 | ||||
| -rw-r--r-- | bb.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -772,7 +772,7 @@ bb_result_t process_cmd(bb_t *bb, const char *cmd) } case 'q': // +quit bb->should_quit = 1; - return BB_QUIT; + return BB_OK; case 'r': // +refresh populate_files(bb, 1); return BB_OK; @@ -130,7 +130,7 @@ typedef struct bb_s { unsigned int should_quit : 1; } bb_t; -typedef enum { BB_OK = 0, BB_INVALID, BB_QUIT } bb_result_t; +typedef enum { BB_OK = 0, BB_INVALID } bb_result_t; // Configurable options: #define SCROLLOFF MIN(5, (termheight-4)/2) |
