From 145b44110b119a3cc4707b751ea375f9fbdbdd98 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Wed, 6 Jun 2012 03:38:02 +0000 Subject: Minor comments formatting discrepancies fix. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/flstring.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/flstring.c') diff --git a/src/flstring.c b/src/flstring.c index 48ad7bf39..455b048b7 100644 --- a/src/flstring.c +++ b/src/flstring.c @@ -93,9 +93,9 @@ fl_strlcpy(char *dst, /* O - Destination string */ #define C_RANGE(c,l,r) ( (c) >= (l) && (c) <= (r) ) /** -* locale independent ascii oriented case cmp -* returns 0 if string successfully compare, -1 if st -*/ + * locale independent ascii oriented case cmp + * returns 0 if string successfully compare, -1 if st + */ int fl_ascii_strcasecmp(const char *s, const char *t) { if (!s || !t) return (s==t ? 0 : (!s ? -1 : +1)); @@ -103,7 +103,7 @@ int fl_ascii_strcasecmp(const char *s, const char *t) { if (*s == *t) continue; if (*s < *t) { if ( (*s+0x20)!=*t || !C_RANGE(*s,'A','Z') ) return -1; - } else { /* *s > *t */ + } else { /* (*s > *t) */ if ( (*s-0x20)!=*t || !C_RANGE(*s,'a','z') ) return +1; } } -- cgit v1.2.3