# SDL: Fixed spacing (cfb96)

**URL:** <https://discourse.libsdl.org/t/sdl-fixed-spacing-cfb96/42861>\
**Category:** SDL Commits\
**Created:** [March 1, 2023, 5:52pm UTC](https://discourse.libsdl.org/t/sdl-fixed-spacing-cfb96/42861 "2023-03-01T17:52:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [March 1, 2023, 5:52pm UTC](https://discourse.libsdl.org/t/sdl-fixed-spacing-cfb96/42861/1 "2023-03-01T17:52:09Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/cfb96e260b9df3ea71b9f27f372624171e893e1e>

```diff
From cfb96e260b9df3ea71b9f27f372624171e893e1e Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 1 Mar 2023 09:51:27 -0800
Subject: [PATCH] Fixed spacing

---
 src/cpuinfo/SDL_cpuinfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c
index ccb02e64c0ba..b0b8cc58ee41 100644
--- a/src/cpuinfo/SDL_cpuinfo.c
+++ b/src/cpuinfo/SDL_cpuinfo.c
@@ -1087,12 +1087,12 @@ int SDL_GetSystemRAM(void)
 #ifdef __HAIKU__
         if (SDL_SystemRAM <= 0) {
             system_info info;
- if (get_system_info(&info) == B_OK) {
+ if (get_system_info(&info) == B_OK) {
                 /* To have an accurate amount, we also take in account the inaccessible pages (aka ignored)
                   which is a bit handier compared to the legacy system's api (i.e. used_pages).*/
                 SDL_SystemRAM = (int)round((info.max_pages + info.ignored_pages > 0 ? info.ignored_pages : 0) * B_PAGE_SIZE / 1048576.0);
- }
-	}
+ }
+ }
 #endif
 #endif
     }

```
