SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
audio/herrie/patches/patch-src_gui_input_c
Normal file
18
audio/herrie/patches/patch-src_gui_input_c
Normal 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"))
|
Loading…
Add table
Add a link
Reference in a new issue