summaryrefslogtreecommitdiffhomepage
path: root/src/rtext.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-07-08 22:54:19 +0200
committerRay <[email protected]>2024-07-08 22:54:19 +0200
commit3abe728712fb10e215ffcf97a1b06178895692d3 (patch)
tree45d81e5821eaa32b058b7ca32c165b87469f55d6 /src/rtext.c
parent598b7f52104a4dd9246ffe01cffcdc0b376cb45c (diff)
downloadraylib-3abe728712fb10e215ffcf97a1b06178895692d3.tar.gz
raylib-3abe728712fb10e215ffcf97a1b06178895692d3.zip
Minor tweaks
Diffstat (limited to 'src/rtext.c')
-rw-r--r--src/rtext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtext.c b/src/rtext.c
index 8daf3a7b..755b15ef 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -1572,7 +1572,7 @@ char *TextReplace(const char *text, const char *replace, const char *by)
byLen = TextLength(by);
// Count the number of replacements needed
- insertPoint = (char*)text;
+ insertPoint = (char *)text;
for (count = 0; (temp = strstr(insertPoint, replace)); count++) insertPoint = temp + replaceLen;
// Allocate returning string and point temp to it
@@ -2339,7 +2339,7 @@ static GlyphInfo *LoadFontDataBDF(const unsigned char *fileData, int dataSize, i
int readBytes = 0; // Data bytes read (line)
int readVars = 0; // Variables filled by sscanf()
- const char *fileText = (const char*)fileData;
+ const char *fileText = (const char *)fileData;
const char *fileTextPtr = fileText;
bool fontMalformed = false; // Is the font malformed