1 Index: abook-0.5.6/ui.c
2 ===================================================================
3 --- abook-0.5.6.orig/ui.c
5 @@ -569,9 +569,13 @@ ui_find(int next)
8 s = ui_readline("/", findstr, MAX_FIELD_LEN - 1, 0);
9 - strncpy(findstr, s, MAX_FIELD_LEN);
13 + return; /* user cancelled (ctrl-G) */
15 + strncpy(findstr, s, MAX_FIELD_LEN);
20 if( (item = find_item(findstr, curitem + !!next, search_fields)) < 0 &&