diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-05 10:34:49 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-05 10:34:49 +0100 |
commit | 55f0978c326a5ec42638f68fc2ed5ef9ff8c6a39 (patch) | |
tree | 36632475a62601161671d9c3131123accd53e753 /osd.c | |
parent | 4bdc69eb92dd149a519cb44939cc0f8868c3ecd8 (diff) | |
download | vdr-55f0978c326a5ec42638f68fc2ed5ef9ff8c6a39.tar.gz vdr-55f0978c326a5ec42638f68fc2ed5ef9ff8c6a39.tar.bz2 |
Added some missing member initializations in cBitmap
Diffstat (limited to 'osd.c')
-rw-r--r-- | osd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 2.26 2012/03/03 13:20:15 kls Exp $ + * $Id: osd.c 2.27 2012/03/05 10:28:01 kls Exp $ */ #include "osd.h" @@ -254,6 +254,7 @@ cBitmap::cBitmap(int Width, int Height, int Bpp, int X0, int Y0) bitmap = NULL; x0 = X0; y0 = Y0; + width = height = 0; SetSize(Width, Height); } @@ -262,6 +263,7 @@ cBitmap::cBitmap(const char *FileName) bitmap = NULL; x0 = 0; y0 = 0; + width = height = 0; LoadXpm(FileName); } @@ -270,6 +272,7 @@ cBitmap::cBitmap(const char *const Xpm[]) bitmap = NULL; x0 = 0; y0 = 0; + width = height = 0; SetXpm(Xpm); } |