summaryrefslogtreecommitdiffhomepage
path: root/src/rcore.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-04-02 09:38:06 +0200
committerRay <[email protected]>2024-04-02 09:38:06 +0200
commit646d70e93a5a049cb9f603c3b94ee1ba98c9161e (patch)
tree9f428f78eb77548156a8bc0348a9efb02cb7b9ef /src/rcore.c
parent1b047995d1046a869fb0f1e8ecf430573e0207e9 (diff)
downloadraylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.tar.gz
raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.zip
Remove trailing spaces
Diffstat (limited to 'src/rcore.c')
-rw-r--r--src/rcore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rcore.c b/src/rcore.c
index aa9724cb..b7147745 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -118,12 +118,12 @@
#if defined(SUPPORT_GESTURES_SYSTEM)
#define RGESTURES_IMPLEMENTATION
- #include "rgestures.h" // Gestures detection functionality
+ #include "rgestures.h" // Gestures detection functionality
#endif
#if defined(SUPPORT_CAMERA_SYSTEM)
#define RCAMERA_IMPLEMENTATION
- #include "rcamera.h" // Camera system functionality
+ #include "rcamera.h" // Camera system functionality
#endif
#if defined(SUPPORT_GIF_RECORDING)
@@ -1799,7 +1799,7 @@ void TakeScreenshot(const char *fileName)
char path[512] = { 0 };
strcpy(path, TextFormat("%s/%s", CORE.Storage.basePath, GetFileName(fileName)));
-
+
ExportImage(image, path); // WARNING: Module required: rtextures
RL_FREE(imgData);
@@ -1955,7 +1955,7 @@ const char *GetFileName(const char *filePath)
const char *GetFileNameWithoutExt(const char *filePath)
{
#define MAX_FILENAME_LENGTH 256
-
+
static char fileName[MAX_FILENAME_LENGTH] = { 0 };
memset(fileName, 0, MAX_FILENAME_LENGTH);
@@ -1963,7 +1963,7 @@ const char *GetFileNameWithoutExt(const char *filePath)
{
strcpy(fileName, GetFileName(filePath)); // Get filename.ext without path
int size = (int)strlen(fileName); // Get size in bytes
-
+
for (int i = size; i > 0; i--) // Reverse search '.'
{
if (fileName[i] == '.')
@@ -1974,7 +1974,7 @@ const char *GetFileNameWithoutExt(const char *filePath)
}
}
}
-
+
return fileName;
}