summaryrefslogtreecommitdiff
path: root/scroller.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2012-03-28 17:54:20 +0300
committerVille Skyttä <ville.skytta@iki.fi>2012-03-28 17:54:20 +0300
commite74a3437211bed8e483ce289b87c99f479849a35 (patch)
tree001af70ff6ffad80f37411f507d6b8b97217b92a /scroller.c
parenteb464b67a9ea3ba12056d8f8353d28833dfe68e3 (diff)
downloadvdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.gz
vdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.bz2
Trim trailing whitespace.
Diffstat (limited to 'scroller.c')
-rw-r--r--scroller.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scroller.c b/scroller.c
index 26a496d..b5280bc 100644
--- a/scroller.c
+++ b/scroller.c
@@ -4,9 +4,9 @@
#include "screen.h"
#include <vdr/tools.h>
-cText2SkinScroller::cText2SkinScroller(cText2SkinScreen *Screen, int Left, int Top, int Width,
- int Height, const char *Text, const cFont *Font,
- tColor ColorFg, tColor ColorBg)
+cText2SkinScroller::cText2SkinScroller(cText2SkinScreen *Screen, int Left, int Top, int Width,
+ int Height, const char *Text, const cFont *Font,
+ tColor ColorFg, tColor ColorBg)
{
Set(Screen, Left, Top, Width, Height, Text, Font, ColorFg, ColorBg);
}
@@ -25,7 +25,7 @@ void cText2SkinScroller::Set(cText2SkinScreen *Screen, int Left, int Top, int Wi
// sets mHeight to the actually used mHeight, which may be less than Height
mWrapper.Set(Text, Font, Width);
mShown = min(Total(), mHeight / mFont->Height());
- mHeight = mShown * mFont->Height();
+ mHeight = mShown * mFont->Height();
DrawText();
}