From f0016a2d101b0b1eb02b14541947f69e734db319 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 2 Oct 2019 13:08:07 -0700 Subject: Removed BB_QUIT --- bb.c | 2 +- bb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bb.c b/bb.c index ed59704..2c9fa32 100644 --- a/bb.c +++ b/bb.c @@ -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; diff --git a/bb.h b/bb.h index 9e18345..2084f68 100644 --- a/bb.h +++ b/bb.h @@ -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) -- cgit v1.2.3