Use nullptr

This commit is contained in:
Scott Lahteine
2020-11-06 20:16:30 -06:00
parent afed97bf0e
commit e49f267c4a
3 changed files with 10 additions and 10 deletions

View File

@ -435,7 +435,7 @@
base_char = base_special ? NO_DOT_I : std_char;
}
// If cmd != NULL, draw the glyph to the screen
// If cmd != nullptr, draw the glyph to the screen
if (cmd) {
ext_vertex2ii(*cmd, x, y, base_special ? alt_font : std_font, base_char);
if (accent_char)

View File

@ -90,7 +90,7 @@ class PolyReader {
if (start_x != eol)
close_loop();
else
p = NULL;
p = nullptr;
}
else {
x = pgm_read_word_far(p++);
@ -106,7 +106,7 @@ class PolyReader {
}
}
bool has_more() { return p != NULL; }
bool has_more() { return p != nullptr; }
bool end_of_loop() { return start_x == eol; }
};