From 7ee23780a43c1a743e37b850c7172db285c4558e Mon Sep 17 00:00:00 2001 From: "nisheeth%netscape.com" Date: Fri, 19 Nov 1999 07:37:04 +0000 Subject: [PATCH] Attempt to fix mac build bustage. git-svn-id: svn://10.0.0.236/trunk@53980 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsTraceRefcnt.cpp | 2 +- mozilla/xpcom/base/nsTraceRefcntImpl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/base/nsTraceRefcnt.cpp b/mozilla/xpcom/base/nsTraceRefcnt.cpp index fe7a773d966..bcec2f49e22 100644 --- a/mozilla/xpcom/base/nsTraceRefcnt.cpp +++ b/mozilla/xpcom/base/nsTraceRefcnt.cpp @@ -628,7 +628,7 @@ static void InitTraceLog(void) } const char* s = getenv("XPCOM_REFCNT_LOG_ENABLE_VIA_PREF"); - if (s && strchr(s, '1') >= 0) { + if (s && strchr(s, '1')) { gEnableViaPref = PR_TRUE; if (gLogging) printf("### XPCOM_REFCNT_LOG_ENABLE_VIA_PREF defined: Logging will be enabled based on the pref selected in the Debug pane\n"); diff --git a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp index fe7a773d966..bcec2f49e22 100644 --- a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp +++ b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp @@ -628,7 +628,7 @@ static void InitTraceLog(void) } const char* s = getenv("XPCOM_REFCNT_LOG_ENABLE_VIA_PREF"); - if (s && strchr(s, '1') >= 0) { + if (s && strchr(s, '1')) { gEnableViaPref = PR_TRUE; if (gLogging) printf("### XPCOM_REFCNT_LOG_ENABLE_VIA_PREF defined: Logging will be enabled based on the pref selected in the Debug pane\n");