Mercurial > mplayer.hg
comparison Gui/skin/font.c @ 19104:2ec2301183cd
marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
author | reynaldo |
---|---|
date | Sat, 15 Jul 2006 16:03:12 +0000 |
parents | 6a08d0dabca8 |
children |
comparison
equal
deleted
inserted
replaced
19103:4611423138fc | 19104:2ec2301183cd |
---|---|
144 if ( h > max ) max=h; | 144 if ( h > max ) max=h; |
145 } | 145 } |
146 return max; | 146 return max; |
147 } | 147 } |
148 | 148 |
149 txSample * fntRender( wItem * item,int px,char * fmt,... ) | 149 txSample * fntRender( wItem * item,int px,const char * fmt,... ) |
150 { | 150 { |
151 va_list ap; | 151 va_list ap; |
152 unsigned char p[512]; | 152 unsigned char p[512]; |
153 unsigned int c; | 153 unsigned int c; |
154 int i, dx = 0, tw, fbw, iw, id, ofs; | 154 int i, dx = 0, tw, fbw, iw, id, ofs; |