summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2012-04-24 04:42:46 +0000
committerFabien Costantini <fabien@onepost.net>2012-04-24 04:42:46 +0000
commit41d77efe8e298f9856639e59376b42deec770687 (patch)
treed08155f8ed83e146e693755f1b3361566317b989 /src
parent6588c7f390245e7c8c1f97ae5f4c35c96f4f7080 (diff)
Fixed comments
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/flstring.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flstring.c b/src/flstring.c
index c6f2825d7..aacdcfd20 100644
--- a/src/flstring.c
+++ b/src/flstring.c
@@ -90,12 +90,12 @@ fl_strlcpy(char *dst, /* O - Destination string */
return (srclen);
}
+#define C_RANGE(c,l,r) ( (c) >= (l) && (c) <= (r) )
+
/**
* locale independent ascii oriented case cmp
-* returns 0 if string successfully compare, non zero otherwise
+* returns 0 if string successfully compare, -1 if s<t, +1 if s>t
*/
-#define C_RANGE(c,l,r) ( (c) >= (l) && (c) <= (r) )
-
int fl_ascii_strcasecmp(const char *s, const char *t) {
if (!s || !t) return (s!=t);
size_t sl=strlen(s), tl=strlen(t);