aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-02-23 10:19:20 +0000
committerjmarshallnz <jmarshallnz@svn>2010-02-23 10:19:20 +0000
commit33975c8569eb7128fd94d26a488fa2ebc5913d17 (patch)
tree7e63fcd486e978d40373af02d32a42c3ca1376b1 /guilib
parent8157c7d1ea4bdfd68c7643fae0b308ed67635cdf (diff)
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
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUIFont.h2
1 files changed, 1 insertions, 1 deletions
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();
};