X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfbutton.c;h=4f2b90f6d5912c11d2e537c7479ad56d3655d1ce;hb=58e7d89f8115525c32a0e3f3f4e5501c6a17186d;hp=6a4ba4382c930a733a7d3893c7a1964a0f8ba8c4;hpb=f9916185439191347c40f4fc41ace0a20ac70018;p=swftools.git diff --git a/lib/modules/swfbutton.c b/lib/modules/swfbutton.c index 6a4ba43..4f2b90f 100644 --- a/lib/modules/swfbutton.c +++ b/lib/modules/swfbutton.c @@ -7,9 +7,19 @@ Copyright (c) 2000, 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 */ int swf_ButtonSetRecord(TAG * t,U8 state,U16 id,U16 layer,MATRIX * m,CXFORM * cx) @@ -76,7 +86,7 @@ int swf_ButtonPostProcess(TAG * t,int anz_action) swf_GetU16(t); // condition - while (a=swf_GetU8(t)) // skip action records + while ((a=swf_GetU8(t))) // skip action records { if (a&0x80) { U16 l = swf_GetU16(t); swf_GetBlock(t,NULL,l);