diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tools/win_lcid.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'tools/win_lcid.cpp')
-rw-r--r-- | tools/win_lcid.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/win_lcid.cpp b/tools/win_lcid.cpp index f4901719ec..8cb7463d49 100644 --- a/tools/win_lcid.cpp +++ b/tools/win_lcid.cpp @@ -1,3 +1,9 @@ +/* + * Copyright 2013 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include "windows.h" #include "stdio.h" @@ -12,7 +18,7 @@ BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) { return (TRUE); } - LCID lcid = LocaleNameToLCID(pStr, NULL); + LCID lcid = LocaleNameToLCID(pStr, nullptr); if (lcid == 0) { wprintf(L"Error %d getting LCID\n", GetLastError()); return (TRUE); @@ -27,5 +33,5 @@ BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) { } int main(int argc, wchar_t* argv[]) { - EnumSystemLocalesEx(MyFuncLocaleEx, LOCALE_ALL, NULL, NULL); + EnumSystemLocalesEx(MyFuncLocaleEx, LOCALE_ALL, nullptr, nullptr); } |