diff options
author | Aaron M. Ucko <ucko@debian.org> | 2012-11-07 18:46:04 -0500 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2012-11-07 18:46:04 -0500 |
commit | f3358bb14bc1644f895e7f72344c29906c5ac6d1 (patch) | |
tree | 7a185491deb6f70c5851a22aa8a5d905092d40df /src/fl_call_main.c | |
parent | 79f54a44748073e5e8294781a7ef325eada98bc5 (diff) |
Imported Upstream version 1.3.1
Diffstat (limited to 'src/fl_call_main.c')
-rw-r--r-- | src/fl_call_main.c | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c index 00f349f..4476c38 100644 --- a/src/fl_call_main.c +++ b/src/fl_call_main.c @@ -1,25 +1,16 @@ /* - * "$Id: fl_call_main.c 7903 2010-11-28 21:06:39Z matt $" + * "$Id: fl_call_main.c 9325 2012-04-05 05:12:30Z fabien $" * * Copyright 1998-2010 by Bill Spitzak and others. * * fl_call_main() calls main() for you Windows people. Needs to be done in C * because Borland C++ won't let you call main() from C++. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. + * This library is free software. Distribution and use rights are outlined in + * the file "COPYING" which should have been included with this file. If this + * file is missing or damaged, see the license at: * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA. + * http://www.fltk.org/COPYING.php * * Please report all bugs and problems on the following page: * @@ -68,7 +59,7 @@ static int mbcs2utf(const char *s, int l, char *dst) if (!s) return 0; dstlen = (l * 6) + 6; mbwbuf = (xchar*)malloc(dstlen * sizeof(xchar)); - l = mbstowcs(mbwbuf, s, l); + l = (int) mbstowcs(mbwbuf, s, l); /* l = fl_unicode2utf(mbwbuf, l, dst); */ l = fl_utf8fromwc(dst, dstlen, mbwbuf, l); dst[l] = 0; @@ -138,6 +129,6 @@ static void dummy(void) {} #endif /* WIN32 && !FL_DLL && !__GNUC__ */ /* - * End of "$Id: fl_call_main.c 7903 2010-11-28 21:06:39Z matt $". + * End of "$Id: fl_call_main.c 9325 2012-04-05 05:12:30Z fabien $". */ |