c++
* prefer prefix increment operator unless logically necessary (it doesn't make any diff foro built-in type but good practice)
This commit is contained in:
@@ -22,7 +22,7 @@ DebugFontBuffer::~DebugFontBuffer() {
|
||||
|
||||
void DebugFontBuffer::addText(const char *text, double left, double baseline, double scale) {
|
||||
int32_t length = strlen(text);
|
||||
for (int32_t i = 0; i < length; i++) {
|
||||
for (int32_t i = 0; i < length; ++i) {
|
||||
if (text[i] < 32 || text[i] > 127) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user