|
@@ -1572,7 +1572,7 @@ char *TextReplace(const char *text, const char *replace, const char *by)
|
|
byLen = TextLength(by);
|
|
byLen = TextLength(by);
|
|
|
|
|
|
// Count the number of replacements needed
|
|
// Count the number of replacements needed
|
|
- insertPoint = (char*)text;
|
|
|
|
|
|
+ insertPoint = (char *)text;
|
|
for (count = 0; (temp = strstr(insertPoint, replace)); count++) insertPoint = temp + replaceLen;
|
|
for (count = 0; (temp = strstr(insertPoint, replace)); count++) insertPoint = temp + replaceLen;
|
|
|
|
|
|
// Allocate returning string and point temp to it
|
|
// 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 readBytes = 0; // Data bytes read (line)
|
|
int readVars = 0; // Variables filled by sscanf()
|
|
int readVars = 0; // Variables filled by sscanf()
|
|
|
|
|
|
- const char *fileText = (const char*)fileData;
|
|
|
|
|
|
+ const char *fileText = (const char *)fileData;
|
|
const char *fileTextPtr = fileText;
|
|
const char *fileTextPtr = fileText;
|
|
|
|
|
|
bool fontMalformed = false; // Is the font malformed
|
|
bool fontMalformed = false; // Is the font malformed
|