diff options
| author | Ray <[email protected]> | 2019-11-25 11:26:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-11-25 11:26:26 +0100 |
| commit | 5ad65d9291c446eb4c7c54ff17c2bf11cdf6a118 (patch) | |
| tree | 7c42fb7afe80e13534a0ea5c04c373bf9f0a58e5 /examples/core | |
| parent | 776304e8e8deb79edb74d145111025eb66e03906 (diff) | |
| download | raylib-5ad65d9291c446eb4c7c54ff17c2bf11cdf6a118.tar.gz raylib-5ad65d9291c446eb4c7c54ff17c2bf11cdf6a118.zip | |
Minor format tweaks
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_world_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); //---------------------------------------------------------------------------------- |
