Advertisement
svenhoefer

Untitled

Jun 21st, 2020
1,667
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.72 KB | None | 0 0
  1. --- a/src/driver/glcd.cpp
  2. +++ b/src/driver/glcd.cpp
  3. @@ -320,7 +320,7 @@ void cGLCD::Exec()
  4.         g_PicViewer->getSize(Logo.c_str(), &icon_start_width, &icon_start_height);
  5.  
  6.         if (g_settings.glcd_show_logo && percent_logo &&
  7. -               showImage(channel_id, Channel, 0, t.glcd_channel_x_position, t.glcd_channel_y_position, percent_logo * bitmap->Height()/100, true, fal
  8. se)) {
  9. +               showImage(channel_id, Channel, t.glcd_channel_x_position, t.glcd_channel_y_position, bitmap->Width() - 4, percent_logo * bitmap->Heigh
  10. t()/100, true, false)) {
  11.                 doScrollChannel = false;
  12.                 scrollChannelSkip = 0;
  13.         } else if (percent_logo && icon_start_width && icon_start_height &&
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement