diff options
| author | Ray <[email protected]> | 2024-07-08 22:54:19 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-07-08 22:54:19 +0200 |
| commit | 3abe728712fb10e215ffcf97a1b06178895692d3 (patch) | |
| tree | 45d81e5821eaa32b058b7ca32c165b87469f55d6 /src/rtext.c | |
| parent | 598b7f52104a4dd9246ffe01cffcdc0b376cb45c (diff) | |
| download | raylib-3abe728712fb10e215ffcf97a1b06178895692d3.tar.gz raylib-3abe728712fb10e215ffcf97a1b06178895692d3.zip | |
Minor tweaks
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 4 |
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 |
