notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4363e
)
fix a buffer overflow
author
notaz
<notasas@gmail.com>
Sat, 5 Apr 2014 19:05:07 +0000
(22:05 +0300)
committer
notaz
<notasas@gmail.com>
Sat, 5 Apr 2014 19:06:40 +0000
(22:06 +0300)
menu.c
patch
|
blob
|
blame
|
history
diff --git
a/menu.c
b/menu.c
index
470ca3d
..
2447bce
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-252,7
+252,7
@@
void menu_init_base(void)
return;
\r
\r
// generate default 8x10 font from fontdata8x8
\r
- for (c = 0, fd = menu_font_data; c <
256
; c++)
\r
+ for (c = 0, fd = menu_font_data; c <
128
; c++)
\r
{
\r
for (l = 0; l < 8; l++)
\r
{
\r