diff options
| -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) |
