From 4997b22f84307521a62838f874928bf56cd3423c Mon Sep 17 00:00:00 2001 From: thestig Date: Tue, 7 Jun 2016 10:46:22 -0700 Subject: Get rid of NULLs in core/ Review-Url: https://codereview.chromium.org/2032613003 --- core/fxcrt/fx_basic_gcc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/fxcrt/fx_basic_gcc.cpp') diff --git a/core/fxcrt/fx_basic_gcc.cpp b/core/fxcrt/fx_basic_gcc.cpp index a55a486293..3547e5fbf0 100644 --- a/core/fxcrt/fx_basic_gcc.cpp +++ b/core/fxcrt/fx_basic_gcc.cpp @@ -138,7 +138,7 @@ FXSYS_FILE* FXSYS_wfopen(const FX_WCHAR* filename, const FX_WCHAR* mode) { } char* FXSYS_strlwr(char* str) { if (!str) { - return NULL; + return nullptr; } char* s = str; while (*str) { @@ -149,7 +149,7 @@ char* FXSYS_strlwr(char* str) { } char* FXSYS_strupr(char* str) { if (!str) { - return NULL; + return nullptr; } char* s = str; while (*str) { @@ -160,7 +160,7 @@ char* FXSYS_strupr(char* str) { } FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) { if (!str) { - return NULL; + return nullptr; } FX_WCHAR* s = str; while (*str) { @@ -171,7 +171,7 @@ FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) { } FX_WCHAR* FXSYS_wcsupr(FX_WCHAR* str) { if (!str) { - return NULL; + return nullptr; } FX_WCHAR* s = str; while (*str) { -- cgit v1.2.3