summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/services.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:03:31 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:07:33 +0100
commita7c24ca48995cf2bf436156302f96b91bf135409 (patch)
tree953835509ff1b778833e78fd7b74b05e05e77c84 /plugins/IEHistory/src/services.cpp
parent591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff)
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'plugins/IEHistory/src/services.cpp')
-rw-r--r--plugins/IEHistory/src/services.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEHistory/src/services.cpp b/plugins/IEHistory/src/services.cpp
index 7197f2a4d5..1556b08363 100644
--- a/plugins/IEHistory/src/services.cpp
+++ b/plugins/IEHistory/src/services.cpp
@@ -31,15 +31,15 @@ INT_PTR ShowContactHistoryService(WPARAM wParam, LPARAM)
{
Log("%s", "Entering function " __FUNCTION__);
HWND historyDlg;
- HWND parent = NULL;
+ HWND parent = nullptr;
historyDlg = WindowList_Find(hOpenWindowsList, (MCONTACT)wParam);
- if (historyDlg == NULL){
+ if (historyDlg == nullptr){
int count = db_get_dw(NULL, ModuleName, "EventsToLoad", 0);
int loadInBackground = db_get_b(NULL, ModuleName, "UseWorkerThread", 0);
HistoryWindowData *data;
data = (HistoryWindowData *)malloc(sizeof(HistoryWindowData));
data->contact = (MCONTACT)wParam;
- data->hIEView = NULL;
+ data->hIEView = nullptr;
data->itemsPerPage = count;
data->index = 0;
data->count = 0;