diff options
Diffstat (limited to 'plugins/YAPP/src/yapp_history.cpp')
-rw-r--r-- | plugins/YAPP/src/yapp_history.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YAPP/src/yapp_history.cpp b/plugins/YAPP/src/yapp_history.cpp index 8e02c3c2ca..fb881cf1c1 100644 --- a/plugins/YAPP/src/yapp_history.cpp +++ b/plugins/YAPP/src/yapp_history.cpp @@ -38,8 +38,8 @@ void PopupHistoryList::DeleteData(int index) mir_free(item->titleT); mir_free(item->messageT); item->timestamp = 0; //invalidate item - item->title = NULL; - item->message = NULL; + item->title = nullptr; + item->message = nullptr; item->flags = 0; } @@ -77,7 +77,7 @@ PopupHistoryData *PopupHistoryList::Get(int index) { if ((index < 0) || (index >= count)) //a bit of sanity check { - return NULL; + return nullptr; } return &historyData[index]; |