X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftext.c;h=59a8dd978c2f6f10a1e6b1cd6399dab8f680faa8;hb=2fc61b512b22b9e155195bb25eed1d706a33a179;hp=8a04b38192bb02ec9adad5f8a8a079f32abea6b1;hpb=d5c725f9d078dd9103bf35286abe767646ab81aa;p=swftools.git diff --git a/lib/modules/swftext.c b/lib/modules/swftext.c index 8a04b38..59a8dd9 100644 --- a/lib/modules/swftext.c +++ b/lib/modules/swftext.c @@ -7,9 +7,19 @@ Copyright (c) 2001 Rainer Böhme - This file is distributed under the GPL, see file COPYING for details + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -*/ + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define TF_TEXTCONTROL 0x80 #define TF_HASFONT 0x08 @@ -655,7 +665,7 @@ void swf_FontFree(SWFFONT * f) free(f); } -int swf_TextSetInfoRecord(TAG * t,SWFFONT * font,U16 size,RGBA * color,S16 dx,S16 dy) +int swf_TextSetInfoRecord(TAG * t,SWFFONT * font,U16 size,RGBA * color,int dx,int dy) { U8 flags; if (!t) return -1;