Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
notr1ch committed May 23, 2015
1 parent acc4281 commit 869c6c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/BitmapImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ void BitmapImage::Init(void)
return;
}

unsigned long long max_size = (unsigned long long)gif.width * (unsigned long long)gif.height * 4LLU * (unsigned long long)gif.frame_count;
if (gif.width * gif.height * 4 * gif.frame_count != max_size)
{
Log(TEXT("BitmapImage: Warning, gif %s overflowed maximum pointer size and was not loaded (%llu > %u)"), lpBitmap, max_size, gif.width * gif.height * 4 * gif.frame_count);
CreateErrorTexture();
return;
}
unsigned long long max_size = (unsigned long long)gif.width * (unsigned long long)gif.height * 4LLU * (unsigned long long)gif.frame_count;
if (gif.width * gif.height * 4 * gif.frame_count != max_size)
{
Log(TEXT("BitmapImage: Warning, gif %s overflowed maximum pointer size and was not loaded (%llu > %u)"), lpBitmap, max_size, gif.width * gif.height * 4 * gif.frame_count);
CreateErrorTexture();
return;
}

if(gif.frame_count > 1)
{
Expand Down

0 comments on commit 869c6c2

Please sign in to comment.