diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-01 18:03:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-06 20:28:20 +0200 |
| commit | f09e17c3c564e8310125a10c03397cbf473ff643 (patch) | |
| tree | 8d0fd4a28e3686c33aaa140d07ddba26ab28bdc2 /src/fl_utf8.cxx | |
| parent | b0e0c355edaa2e23148cb0260ada907aec930f05 (diff) | |
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.
Diffstat (limited to 'src/fl_utf8.cxx')
| -rw-r--r-- | src/fl_utf8.cxx | 20 |
1 files changed, 7 insertions, 13 deletions
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 <FL/Fl.H> @@ -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$". -// |
