1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00

Fix a declarations vs statements warning.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21412 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-12-01 15:04:46 +00:00
parent 3aa3fbbf6c
commit a321bc9a2b

View File

@ -897,6 +897,9 @@ static void draw_osd(void)
static void flip_page(void)
{
int curTime;
static int lastTime;
if(theWindow == NULL)
return;
@ -980,8 +983,8 @@ static void flip_page(void)
//update activity every 30 seconds to prevent
//screensaver from starting up.
int curTime = TickCount()/60;
static int lastTime = 0;
curTime = TickCount()/60;
lastTime = 0;
if( ((curTime/ - lastTime) >= 5) || (lastTime == 0) )
{