From 5ad65d9291c446eb4c7c54ff17c2bf11cdf6a118 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 25 Nov 2019 11:26:26 +0100 Subject: Minor format tweaks --- examples/core/core_world_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/core') diff --git a/examples/core/core_world_screen.c b/examples/core/core_world_screen.c index 31d3653d..be1a96b9 100644 --- a/examples/core/core_world_screen.c +++ b/examples/core/core_world_screen.c @@ -62,8 +62,8 @@ int main(void) EndMode3D(); - DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100 / 100", 20) / 2, cubeScreenPosition.y, 20, BLACK); - DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20)) / 2, 25, 20, GRAY); + DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100/100", 20)/2, cubeScreenPosition.y, 20, BLACK); + DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20))/2, 25, 20, GRAY); EndDrawing(); //---------------------------------------------------------------------------------- -- cgit v1.2.3