aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bb.c2
-rw-r--r--bb.h2
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)