Fix whitespace

master
Richard Stanway 2015-05-23 18:48:24 +02:00
parent acc4281b22
commit 869c6c2eed
1 changed files with 7 additions and 7 deletions

View File

@ -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)
{