summaryrefslogtreecommitdiff
path: root/extra/config/lxdialog/textbox.c
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-04-18 15:59:49 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-04-18 15:59:49 +0000
commitf66a762344d77b8e4a4d50e68896638a234dc631 (patch)
tree9b3bf1632a7dd59c788d998b24efa084c9f6ea0a /extra/config/lxdialog/textbox.c
parent5178925d7b23c6fd5c79d602c9e873cb9ba50ea2 (diff)
Updated to match Linux 2.6.11.
Diffstat (limited to 'extra/config/lxdialog/textbox.c')
-rw-r--r--extra/config/lxdialog/textbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/config/lxdialog/textbox.c b/extra/config/lxdialog/textbox.c
index ed23df2d0..a5a460b5c 100644
--- a/extra/config/lxdialog/textbox.c
+++ b/extra/config/lxdialog/textbox.c
@@ -317,7 +317,7 @@ dialog_textbox (const char *title, const char *file, int height, int width)
delwin (dialog);
free (buf);
close (fd);
- return -1; /* ESC pressed */
+ return 1; /* ESC pressed */
}
/*