SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
The return value of getch() must be stored in an int to handle KEY_*
values.
Index: src/gui_input.c
--- src/gui_input.c.orig
+++ src/gui_input.c
@@ -601,9 +601,9 @@ gui_input_loop(void)
int
gui_input_askyesno(const char *question)
{
- char *msg, input;
+ char *msg;
const char *yes, *no;
- int ret;
+ int input, ret;
/* Skip the question if the user really wants so */
if (!config_getopt_bool("gui.input.confirm"))