summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/codecvt_CodePage.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/BasicHistory/src/codecvt_CodePage.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/BasicHistory/src/codecvt_CodePage.h')
-rw-r--r--plugins/BasicHistory/src/codecvt_CodePage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/codecvt_CodePage.h b/plugins/BasicHistory/src/codecvt_CodePage.h
index 007af11434..1a6b7f3db1 100644
--- a/plugins/BasicHistory/src/codecvt_CodePage.h
+++ b/plugins/BasicHistory/src/codecvt_CodePage.h
@@ -52,7 +52,7 @@ protected:
_Mid1 = _First1;
_Mid2 = _First2;
- int conv = WideCharToMultiByte(codePage, 0, _First1, _Last1 - _First1, _First2, _Last2 - _First2, NULL, NULL);
+ int conv = WideCharToMultiByte(codePage, 0, _First1, _Last1 - _First1, _First2, _Last2 - _First2, nullptr, nullptr);
if (conv == 0)
{
if (GetLastError() == ERROR_INSUFFICIENT_BUFFER)