Mercurial > mplayer.hg
changeset 33090:db699b367260
Reduce resp. increase arrays to reasonable size.
This corresponds with the maximum line size.
author | ib |
---|---|
date | Fri, 01 Apr 2011 12:15:10 +0000 |
parents | d22b498bb573 |
children | 6ce0b74d03b7 |
files | gui/skin/skin.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/skin/skin.c Fri Apr 01 12:09:17 2011 +0000 +++ b/gui/skin/skin.c Fri Apr 01 12:15:10 2011 +0000 @@ -212,7 +212,7 @@ // base=image,x,y[,width,height] static int cmd_base(char *in) { - unsigned char fname[512]; + unsigned char fname[256]; unsigned char file[512]; int x, y; int w = 0, h = 0; @@ -356,7 +356,7 @@ // button=image,x,y,width,height,message static int cmd_button(char *in) { - unsigned char fname[512]; + unsigned char fname[256]; unsigned char file[512]; int x, y, w, h, message; char msg[32]; @@ -502,8 +502,8 @@ { int x, y, pwidth, pheight, ph, w, h, message, d; unsigned char buf[512]; - unsigned char pfname[512]; - unsigned char phfname[512]; + unsigned char pfname[256]; + unsigned char phfname[256]; wItem *item; if (!window_cmd("h/v potmeter")) @@ -599,7 +599,7 @@ { int x, y, ph, w, h, message, d; unsigned char buf[512]; - unsigned char phfname[512]; + unsigned char phfname[256]; wItem *item; if (!window_cmd("potmeter")) @@ -702,8 +702,8 @@ // slabel=x,y,fontfile,"text" static int cmd_slabel(char *in) { - char txt[512]; - char fnt[64]; + char txt[256]; + char fnt[256]; int x, y, id; wItem *item; @@ -754,8 +754,8 @@ // dlabel=x,y,width,align,fontfile,"text" static int cmd_dlabel(char *in) { - char txt[512]; - char fnt[64]; + char txt[256]; + char fnt[256]; int x, y, w, id, a; wItem *item;