summaryrefslogtreecommitdiff
path: root/src/fl_utf.c
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-11 20:52:38 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-11 20:52:38 +0000
commitb4c15eb8ae300eeb374f461a7788ec6dec7938f0 (patch)
treed224223396e128955ec624d9b5e44c43e2d951ad /src/fl_utf.c
parent9c0c450cbdbe257c24baf9c0754d457a55fdfa89 (diff)
Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,
extraneous ';' and ',' and an invalid cast. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_utf.c')
-rw-r--r--src/fl_utf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_utf.c b/src/fl_utf.c
index 7e858c1e1..ff13404c0 100644
--- a/src/fl_utf.c
+++ b/src/fl_utf.c
@@ -3,7 +3,7 @@
*
* This is the utf.c file from fltk2 adapted for use in my fltk1.1 port
*/
-/* Copyright 2006-2010 by Bill Spitzak and others.
+/* Copyright 2006-2011 by Bill Spitzak and others.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -751,7 +751,7 @@ unsigned fl_utf8to_mb(const char* src, unsigned srclen,
memcpy(dst, src, srclen);
dst[srclen] = 0;
} else {
- // Buffer insufficent or buffer query
+ /* Buffer insufficent or buffer query */
}
return srclen;
}
@@ -815,7 +815,7 @@ unsigned fl_utf8from_mb(char* dst, unsigned dstlen,
memcpy(dst, src, srclen);
dst[srclen] = 0;
} else {
- // Buffer insufficent or buffer query
+ /* Buffer insufficent or buffer query */
}
return srclen;
}