From f2e95150d0a9c4b98c63d35b568d385d038ad412 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 2 Jan 2007 12:21:13 +0000 Subject: [PATCH] Use macros instead literal constants --- goldlib/gall/gfilutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goldlib/gall/gfilutil.h b/goldlib/gall/gfilutil.h index 17cdf6c..8eea3f2 100644 --- a/goldlib/gall/gfilutil.h +++ b/goldlib/gall/gfilutil.h @@ -115,7 +115,7 @@ #define GOLD_SHELL_ENV "SHELL" #endif -inline bool isslash(char c) { return (c == '\\') or (c == '/'); } +inline bool isslash(char c) { return (c == GOLD_SLASH_CHR) or (c == GOLD_WRONG_SLASH_CHR); } // ------------------------------------------------------------------