From f09e17c3c564e8310125a10c03397cbf473ff643 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 1 Jul 2020 18:03:10 +0200 Subject: Remove $Id$ tags, update URL's, and more - remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers. --- src/fl_utf8.cxx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'src/fl_utf8.cxx') diff --git a/src/fl_utf8.cxx b/src/fl_utf8.cxx index 05ca16dac..b7d273466 100644 --- a/src/fl_utf8.cxx +++ b/src/fl_utf8.cxx @@ -1,6 +1,4 @@ // -// "$Id$" -// // Unicode to UTF-8 conversion functions. // // Author: Jean-Marc Lienher ( http://oksid.ch ) @@ -13,9 +11,9 @@ // // https://www.fltk.org/COPYING.php // -// Please report all bugs and problems on the following page: +// Please see the following page on how to report bugs and issues: // -// https://www.fltk.org/str.php +// https://www.fltk.org/bugs.php // #include @@ -46,7 +44,7 @@ static int Toupper(int ucs) { if (!table) { table = (unsigned short*) malloc( - sizeof(unsigned short) * (NBC)); + sizeof(unsigned short) * (NBC)); for (i = 0; i < NBC; i++) { table[i] = (unsigned short) i; } @@ -124,8 +122,8 @@ int fl_utf8len1(char c) */ int fl_utf_nb_char( - const unsigned char *buf, - int len) + const unsigned char *buf, + int len) { int i = 0; int nbc = 0; @@ -375,9 +373,9 @@ int fl_open(const char* fname, int oflags, ...) { \param[in] fname the UTF-8 encoded filename \param[in] binary if non-zero, the file is to be accessed in binary - (a.k.a. untranslated) mode. + (a.k.a. untranslated) mode. \param[in] oflags,... these arguments are as in the standard open() function. - Setting \p oflags to zero opens the file for reading. + Setting \p oflags to zero opens the file for reading. \return a file descriptor upon successful completion, or -1 in case of error. */ @@ -1359,7 +1357,3 @@ unsigned fl_utf8from_mb(char* dst, unsigned dstlen, const char* src, unsigned sr } /** @} */ - -// -// End of "$Id$". -// -- cgit v1.2.3