From 33975c8569eb7128fd94d26a488fa2ebc5913d17 Mon Sep 17 00:00:00 2001 From: jmarshallnz Date: Tue, 23 Feb 2010 10:19:20 +0000 Subject: fixed: If no scroll speed is set, use the default git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28070 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- guilib/GUIFont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guilib') diff --git a/guilib/GUIFont.h b/guilib/GUIFont.h index 88d996053f..44f6b618e2 100644 --- a/guilib/GUIFont.h +++ b/guilib/GUIFont.h @@ -37,7 +37,7 @@ public: { initialWait = wait; initialPos = pos; - SetSpeed(speed); + SetSpeed(speed ? speed : defaultSpeed); suffix = scrollSuffix; Reset(); }; -- cgit v1.2.3