diff options
Diffstat (limited to 'games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-ovflfix.patch')
-rw-r--r-- | games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-ovflfix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-ovflfix.patch b/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-ovflfix.patch new file mode 100644 index 000000000000..e3a7d7bb5db5 --- /dev/null +++ b/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-ovflfix.patch @@ -0,0 +1,11 @@ +--- src/sdl/debugger.cpp.old 2010-11-02 15:37:53.000000000 +0100 ++++ src/sdl/debugger.cpp 2010-11-02 15:38:13.000000000 +0100 +@@ -1389,7 +1389,7 @@ + { + char buffer[10]; + printf("Are you sure you want to quit (y/n)? "); +- fgets(buffer, 1024, stdin); ++ fgets(buffer, sizeof(buffer), stdin); + + if(buffer[0] == 'y' || buffer[0] == 'Y') { + debugger = false; |