🎨 modernize-use-nullptr

This commit is contained in:
Anders Jenbo 2021-04-19 16:02:05 +02:00
commit bb4e1960e7
77 changed files with 1828 additions and 1828 deletions

View file

@ -142,7 +142,7 @@ static std::ofstream *CaptureFile(std::string *dst_path)
return new std::ofstream(*dst_path, std::ios::binary | std::ios::trunc);
}
}
return NULL;
return nullptr;
}
/**
@ -161,7 +161,7 @@ static void RedPalette()
gnScreenWidth,
gnScreenHeight,
};
BltFast(&SrcRect, NULL);
BltFast(&SrcRect, nullptr);
RenderPresent();
}
@ -176,7 +176,7 @@ void CaptureScreen()
bool success;
std::ofstream *out_stream = CaptureFile(&FileName);
if (out_stream == NULL)
if (out_stream == nullptr)
return;
DrawAndBlit();
PaletteGetEntries(256, palette);