From 397a58ac22d528fd52feef66944345b9bb4976e4 Mon Sep 17 00:00:00 2001 From: Koichi KAMICHI Date: Thu, 22 Jun 2006 01:22:07 +0000 Subject: [PATCH] Fixed bug of preparing parts function when preparing multiple parts. --- makettf/index.html | 1 - makettf/makettf.pl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/makettf/index.html b/makettf/index.html index 5785f96..77433d6 100644 --- a/makettf/index.html +++ b/makettf/index.html @@ -46,4 +46,3 @@ Webサーバの制約により生成に6分以上かかる場合は失敗しま - diff --git a/makettf/makettf.pl b/makettf/makettf.pl index 4ce2284..7eb22bc 100755 --- a/makettf/makettf.pl +++ b/makettf/makettf.pl @@ -57,7 +57,7 @@ sub makefont{ sub addsubset{ $subset{$_[0]} = $buhin{$_[0]}; - if($buhin{$_[0]} =~ m/(^|\$)99:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:(.+?)(\$|$)/){ + while($buhin{$_[0]} =~ m/(^|\$)99:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:(.+?)(\$|$)/gc){ if(!exists($subset{$2})){ &addsubset($2); } -- 1.7.10.4