[MPlayer-cvslog] r20523 - trunk/libmenu/menu.c
reimar
subversion at mplayerhq.hu
Sun Oct 29 22:52:26 CET 2006
Author: reimar
Date: Sun Oct 29 22:52:26 2006
New Revision: 20523
Modified:
trunk/libmenu/menu.c
Log:
Fix possible crash: negative values may no be passed to render_one_glyph
Modified: trunk/libmenu/menu.c
==============================================================================
--- trunk/libmenu/menu.c (original)
+++ trunk/libmenu/menu.c Sun Oct 29 22:52:26 2006
@@ -294,7 +294,7 @@
}
#ifdef HAVE_FREETYPE
-#define render_txt(t) { char* p = t; while(*p) render_one_glyph(vo_font,*p++); }
+#define render_txt(t) { unsigned char* p = t; while(*p) render_one_glyph(vo_font,*p++); }
#else
#define render_txt(t)
#endif
More information about the MPlayer-cvslog
mailing list