summaryrefslogtreecommitdiff
path: root/extra/config/lxdialog/textbox.c
diff options
context:
space:
mode:
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 */
}
/*