[MPlayer-cvslog] r32939 - in trunk/gui/skin: font.c font.h
ib
subversion at mplayerhq.hu
Sun Feb 20 01:04:19 CET 2011
Author: ib
Date: Sun Feb 20 01:04:19 2011
New Revision: 32939
Log:
Cosmetic: Limit scope of internally used Fonts array.
Modified:
trunk/gui/skin/font.c
trunk/gui/skin/font.h
Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c Sun Feb 20 00:57:03 2011 (r32938)
+++ trunk/gui/skin/font.c Sun Feb 20 01:04:19 2011 (r32939)
@@ -28,7 +28,7 @@
#include "../interface.h"
#include "libavutil/avstring.h"
-bmpFont * Fonts[MAX_FONTS] = {0};
+static bmpFont * Fonts[MAX_FONTS] = {0};
static int fntAddNewFont( char * name )
{
Modified: trunk/gui/skin/font.h
==============================================================================
--- trunk/gui/skin/font.h Sun Feb 20 00:57:03 2011 (r32938)
+++ trunk/gui/skin/font.h Sun Feb 20 01:04:19 2011 (r32939)
@@ -47,8 +47,6 @@ typedef struct
char name[MAX_FONT_NAME];
} bmpFont;
-extern bmpFont * Fonts[MAX_FONTS];
-
void fntFreeFont( void );
int fntFindID( char * name );
int fntTextWidth( int id, char * str );
More information about the MPlayer-cvslog
mailing list