summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/display.c b/display.c
index c9ac59f..8d6b49c 100644
--- a/display.c
+++ b/display.c
@@ -176,11 +176,8 @@ cDisplay4BPP::cDisplay4BPP(int x0, int y0, int width, int height)
cDisplay4BPPHalf::cDisplay4BPPHalf(int x0, int y0, int width, int height, bool upper)
- : cDisplay(width,height) {
-
- OsdX0=x0;
- OsdY0=y0;
- Upper=upper;
+ : cDisplay(width,height), Upper(upper), OsdX0(x0), OsdY0(y0)
+{
osd=NULL;
// Redirect all real init work to method