ShowImage: fixes variables declaration.

* Thanks Axel.
This commit is contained in:
Janus 2015-04-21 10:02:11 +00:00
parent 41425e461d
commit c1994be817

View File

@ -1523,9 +1523,8 @@ ShowImageWindow::_SaveWidthAndHeight()
return;
BRect bounds = fImageView->Bitmap()->Bounds();
int32 width, height;
width = bounds.IntegerWidth() + 1;
height = bounds.IntegerHeight() + 1;
int32 width = bounds.IntegerWidth() + 1;
int32 height = bounds.IntegerHeight() + 1;
BFile file(&fNavigator.CurrentRef(), B_WRITE_ONLY);
if (file.InitCheck() != B_OK)