diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2012-03-28 17:54:20 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2012-03-28 17:54:20 +0300 |
commit | e74a3437211bed8e483ce289b87c99f479849a35 (patch) | |
tree | 001af70ff6ffad80f37411f507d6b8b97217b92a /scroller.c | |
parent | eb464b67a9ea3ba12056d8f8353d28833dfe68e3 (diff) | |
download | vdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.gz vdr-plugin-text2skin-e74a3437211bed8e483ce289b87c99f479849a35.tar.bz2 |
Trim trailing whitespace.
Diffstat (limited to 'scroller.c')
-rw-r--r-- | scroller.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(); } |