mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #557 from Pan7/fixCommon
Fix warning variable bcHeight is used uninitialized
This commit is contained in:
commit
ff878eaee2
1 changed files with 1 additions and 0 deletions
|
@ -755,6 +755,7 @@ void LoadBMP( const char *filename, byte **pic, byte **palette, int *width, int
|
|||
}
|
||||
else {
|
||||
Error( "%s had strange struct size", filename );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( bcPlanes != 1 ) {
|
||||
|
|
Loading…
Reference in a new issue