Use nullptr
This commit is contained in:
@ -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)
|
||||
|
@ -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; }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user