Fixed an uninitialized memory issue (thanks, Stefan!)

This commit is contained in:
Matthias Koefferlein 2017-07-10 20:49:52 +02:00
parent 02819c5f1e
commit 986cb7f0c2
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ Bitmap::Bitmap (unsigned int w, unsigned int h, double r)
Bitmap::Bitmap (const Bitmap &d)
: m_empty_scanline (0)
{
init (d.m_width, d.m_height);
operator= (d);
}