1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Style cleanup

This commit is contained in:
Ivan Savenko
2023-02-08 13:56:09 +02:00
parent 62151cd20c
commit ab8b407294
9 changed files with 32 additions and 33 deletions

View File

@@ -245,8 +245,8 @@ CInfoPopup::CInfoPopup(SDL_Surface *Bitmap, bool Free)
if(bitmap)
{
pos.x = GH.screenDimensions().x/2 - bitmap->w/2;
pos.y = GH.screenDimensions().y/2 - bitmap->h/2;
pos.x = GH.screenDimensions().x / 2 - bitmap->w / 2;
pos.y = GH.screenDimensions().y / 2 - bitmap->h / 2;
pos.h = bitmap->h;
pos.w = bitmap->w;
}