Cleanup: use nullptr instead of 0 or NULL

This commit is contained in:
Rubidium
2021-06-16 21:12:08 +02:00
committed by rubidium42
parent a9774f3e34
commit f904aef176
8 changed files with 9 additions and 9 deletions

View File

@@ -277,7 +277,7 @@ bool GetClipboardContents(char *buffer, const char *last)
}
char *clip = SDL_GetClipboardText();
if (clip != NULL) {
if (clip != nullptr) {
strecpy(buffer, clip, last);
SDL_free(clip);
return true;