Merge copy ctor bug reported by Richard Sim.

Update ChangeLog.
This commit is contained in:
castano
2008-03-05 19:17:06 +00:00
parent 3dae7f9b70
commit 4c3549cb66
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Image::Image() : m_width(0), m_height(0), m_format(Format_RGB), m_data(NULL)
{
}
Image::Image(const Image & img)
Image::Image(const Image & img) : m_data(NULL)
{
allocate(img.m_width, img.m_height);
m_format = img.m_format;