OSDN Git Service

LoadDefinitionFileVer3の返り値がゴースト非該当の場合でも空文字列でない場合がある問題を修正 (たぶんToDo #381)
authorC.Ponapalt <ponapalt@shillest.net>
Fri, 12 Mar 2004 09:06:38 +0000 (09:06 +0000)
committerC.Ponapalt <ponapalt@shillest.net>
Fri, 12 Mar 2004 09:06:38 +0000 (09:06 +0000)
SVG.dpr

diff --git a/SVG.dpr b/SVG.dpr
index 4cd46c5..4830b9d 100644 (file)
--- a/SVG.dpr
+++ b/SVG.dpr
@@ -220,8 +220,10 @@ begin
       begin
         SakuraName := Val;
         Ghost2File.Values[SakuraName] := FileName; //\8e\9f\82©\82ç\82Ì\83V\83\87\81[\83g\83J\83b\83g
-        if SakuraName <> Ghost then //\95Ê\83S\81[\83X\83g\82Ì\92è\8b`\83t\83@\83C\83\8b\82È\82Ì\82Å\83p\83X
+        if SakuraName <> Ghost then begin //\95Ê\83S\81[\83X\83g\82Ì\92è\8b`\83t\83@\83C\83\8b\82È\82Ì\82Å\83p\83X
+          Result := '';
           Exit;
+        end;
       end else if Key = 'surfacefile' then
       begin
         Result := Val;