From 6eba3a1467e5481c250b67ffe4d82170393e76e0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 31 Jan 2014 23:11:13 +0100 Subject: [PATCH] CComponents: remove wrong init value for item position This causes an unnecessary offset and possible fb-remains. This was observed at the header in Imageinfo, but only without shadow. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/57a6c363296698b1403e7fa494e0084a67d37699 Author: Thilo Graf Date: 2014-01-31 (Fri, 31 Jan 2014) ------------------ This commit was generated by Migit --- src/gui/components/cc_base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_base.cpp b/src/gui/components/cc_base.cpp index a2d688000..c9c49528a 100644 --- a/src/gui/components/cc_base.cpp +++ b/src/gui/components/cc_base.cpp @@ -56,8 +56,8 @@ void CComponents::clearSavedScreen() void CComponents::initVarBasic() { - x = saved_screen.x = 1; - y = saved_screen.y = 1; + x = saved_screen.x = 0; + y = saved_screen.y = 0; cc_xr = x; cc_yr = y; height = saved_screen.dy = CC_HEIGHT_MIN;