From: Francois Fleuret Date: Thu, 16 Dec 2010 08:54:18 +0000 (+0100) Subject: Renamed the 'enter' variable to 'done'. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=d3ee5db6e344bf94671145a0ad7a5544f31ace8e;p=selector.git Renamed the 'enter' variable to 'done'. --- diff --git a/selector.c b/selector.c index 9d39371..0a8cf24 100644 --- a/selector.c +++ b/selector.c @@ -853,7 +853,7 @@ int main(int argc, char **argv) { char pattern[BUFFER_SIZE]; int c, k, l, n; int cursor_position; - int error = 0, show_help = 0, enter = 0; + int error = 0, show_help = 0, done = 0; int rest_are_files = 0; int key; int current_focus_line, displayed_focus_line; @@ -1210,7 +1210,7 @@ int main(int argc, char **argv) { key == '\033' || /* ^[ (escape) */ key == '\n' || key == KEY_ENTER) { - enter = 1; + done = 1; } else { @@ -1222,7 +1222,7 @@ int main(int argc, char **argv) { motion, nb_lines, labels, cursor_position, pattern); - } while(!enter); + } while(!done); echo(); endwin();