[MPlayer-cvslog] r32918 - trunk/gui/skin/font.c
ib
subversion at mplayerhq.hu
Thu Feb 17 11:02:25 CET 2011
Author: ib
Date: Thu Feb 17 11:02:25 2011
New Revision: 32918
Log:
Simplify array initialization.
Modified:
trunk/gui/skin/font.c
Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c Wed Feb 16 19:43:48 2011 (r32917)
+++ trunk/gui/skin/font.c Thu Feb 17 11:02:25 2011 (r32918)
@@ -151,7 +151,7 @@ int fntFindID( char * name )
// then move pointer to next/previous character
int fntGetCharIndex( int id, unsigned char **str, gboolean utf8, int direction )
{
- unsigned char *p, uchar[4] = { 0, 0, 0, 0 };
+ unsigned char *p, uchar[4] = {'\0'};
int i, c = -1;
if ( **str & 0x80 )
More information about the MPlayer-cvslog
mailing list