Created
August 16, 2014 22:57
-
-
Save mistydemeo/be4f4c8010aa1662ef43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: nethack/src/dialog.c | |
=================================================================== | |
--- nethack/src/dialog.c (revision e389814404adba27eaf9312d711cc7e8d3248650) | |
+++ nethack/src/dialog.c (revision 8771d1b602666bf76b6b47ddf95487b648e78d93) | |
@@ -215,5 +215,9 @@ | |
{ | |
int key; | |
- char prompt[strlen(query) + strlen(resp) + 8]; | |
+ /* | |
+ * "query [resp] (y) \0" | |
+ * 12 3456789 | |
+ */ | |
+ char prompt[strlen(query) + strlen(resp) + 9]; | |
char *rb; | |
char respbuf[strlen(resp) + 1]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment