aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-09-13 01:01:53 +0200
committerache <ache@ache.one>2019-09-13 01:01:53 +0200
commit473f3e959d62e5fc56169e8ac33d0ae6ffe8b523 (patch)
tree39050d11152c4600cbed51aa17fdf32d11a53af1
parentd94ac247853feda2d5be2d6ab3d7629726fdd092 (diff)
Fix search empty bug0.9.0
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 94edda9..7305a04 100644
--- a/main.c
+++ b/main.c
@@ -302,6 +302,7 @@ int main(int argc, char* argv[]){
} else {
move(LINES-1,0);
readline_n("/ ", "");
+ if(!*msg_win_str) break;
int res = searchSMS(msg_win_str);
if( res >= 0 ) {