From ef002c85521278e3082517297cf60372d7751cb1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 24 Apr 2017 16:28:07 -0700 Subject: Use fx_extension.h utilities in more places. Change-Id: Iba1aa793567e69acc3cc1acbd5b9a9f531c80b7a Reviewed-on: https://pdfium-review.googlesource.com/4453 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- core/fxcrt/fx_extension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcrt/fx_extension.h') diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h index 00604fb22c..beda105909 100644 --- a/core/fxcrt/fx_extension.h +++ b/core/fxcrt/fx_extension.h @@ -38,7 +38,7 @@ inline int32_t FXSYS_toupper(int32_t ch) { } inline bool FXSYS_iswalpha(wchar_t wch) { - return (wch >= L'A' && wch <= L'Z') || (wch >= L'a' && wch <= L'z'); + return FXSYS_isupper(wch) || FXSYS_islower(wch); } inline bool FXSYS_iswalnum(wchar_t wch) { -- cgit v1.2.3