You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.p...

23 lines
700 B

diff -up rocksndiamonds-4.0.0.1/src/tools.c.yesno rocksndiamonds-4.0.0.1/src/tools.c
--- rocksndiamonds-4.0.0.1/src/tools.c.yesno 2017-01-12 07:47:09.921343574 -0500
+++ rocksndiamonds-4.0.0.1/src/tools.c 2017-01-12 07:51:45.059649653 -0500
@@ -3901,6 +3901,18 @@ static int RequestHandleEvents(unsigned
result = 0;
break;
+ case KSYM_y:
+ case KSYM_Y:
+ if (req_state & REQ_ASK)
+ result = TRUE;
+ break;
+
+ case KSYM_n:
+ case KSYM_N:
+ if (req_state & REQ_ASK)
+ result = FALSE;
+ break;
+
default:
HandleKeysDebug(key);
break;