From bcc94017bc6d15789606026ecf4a03f005a54edf Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 7 Dec 2000 14:13:51 +0000 Subject: convert a > expression to the equivalent < one --- lib/stripslash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/stripslash.c b/lib/stripslash.c index 20cdc48b5..f55c76912 100644 --- a/lib/stripslash.c +++ b/lib/stripslash.c @@ -41,6 +41,6 @@ strip_trailing_slashes (char *path) int last; last = strlen (path) - 1; - while (last > 0 && ISSLASH (path[last])) + while (0 < last && ISSLASH (path[last])) path[last--] = '\0'; } -- cgit v1.2.3-70-g09d2