Cleanup: use nullptr instead of 0 or NULL
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user