Moving frames and dialogs now reports correct
positions. Typo in BMP loading. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -642,7 +642,7 @@ bool wxBMPHandler::LoadFile( wxImage *image, wxInputStream& stream )
|
||||
planes = (int)word;
|
||||
stream.Read(&word, 2);
|
||||
bpp = (int)word;
|
||||
if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
|
||||
if (bpp!=1 && bpp!=4 && bpp!=8 && bpp !=16 && bpp!=24 && bpp!=32)
|
||||
{
|
||||
wxLogError( _T("unknown bitdepth in file\n") );
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user