[MPlayer-cvslog] r36986 - trunk/gui/win32/skinload.c
ib
subversion at mplayerhq.hu
Sat Mar 8 20:17:43 CET 2014
Author: ib
Date: Sat Mar 8 20:17:43 2014
New Revision: 36986
Log:
Make linenumber global.
Modified:
trunk/gui/win32/skinload.c
Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c Sat Mar 8 19:43:24 2014 (r36985)
+++ trunk/gui/win32/skinload.c Sat Mar 8 20:17:43 2014 (r36986)
@@ -93,6 +93,8 @@ static const evName evNames[] =
static const int evBoxs = sizeof(evNames) / sizeof(evName);
+static int linenumber;
+
static char *geteventname(int event)
{
int i;
@@ -548,13 +550,14 @@ skin_t* loadskin(char* skindir, int desk
{
FILE *fp;
int reachedendofwindow = FALSE;
- int linenumber = 0;
skin_t *skin = calloc(1, sizeof(skin_t));
char *filename;
char *tmp = calloc(1, MAX_LINESIZE);
char *desc = calloc(1, MAX_LINESIZE);
window* mywindow = NULL;
+ linenumber = 0;
+
/* setup funcs */
skin->freeskin = freeskin;
skin->pngRead = pngRead;
More information about the MPlayer-cvslog
mailing list