X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfc.c;h=5189e72aaffc054e5dead31026f50b7dd711efd1;hb=55675b798f2079ce195a300c965c43178fe06064;hp=5a9c86eb23d12f7922582727c82293797dee19a1;hpb=aa532afae8561b330a17beec859dcf7024300793;p=swftools.git diff --git a/src/swfc.c b/src/swfc.c index 5a9c86e..5189e72 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -2437,7 +2437,7 @@ static int c_edittext(map_t*args) //"name font size width height text="" color=black maxlength=0 variable="" @password=0 @wordwrap=0 @multiline=0 @html=0 @noselect=0 @readonly=0"}, char*name = lu(args, "name"); char*font = lu(args, "font"); - int size = (int)(100*20*parsePercent(lu(args, "size"))); + int size = (int)(1024*parsePercent(lu(args, "size"))); int width = parseTwip(lu(args, "width")); int height = parseTwip(lu(args, "height")); char*text = lu(args, "text");