Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: tools/win_lcid.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/win_dbghelp.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win_lcid.cpp
diff --git a/tools/win_lcid.cpp b/tools/win_lcid.cpp
index f4901719ecf6efb583499f39933b79bb67aa21fe..8cb7463d4951d355b2982122b6bc8fccfc8ec149 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);
}
« no previous file with comments | « tools/win_dbghelp.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698