Properly right-align sidFPS
authorWuzzy <Wuzzy2@mail.ru>
Tue, 02 Apr 2019 00:13:25 +0200
changeset 14760 5d5d7db9f417
parent 14759 9423d30ec205
child 14761 7b2bd37d7503
Properly right-align sidFPS
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Tue Apr 02 00:06:19 2019 +0200
+++ b/hedgewars/uWorld.pas	Tue Apr 02 00:13:25 2019 +0200
@@ -1760,7 +1760,7 @@
             SDL_FreeSurface(tmpSurface)
             end;
         if fpsTexture <> nil then
-            DrawTexture((cScreenWidth shr 1) - 60 - offsetY, offsetX, fpsTexture);
+            DrawTexture((cScreenWidth shr 1) - 20 - fpsTexture^.w - offsetY, offsetX, fpsTexture);
         end;
 end;