OSDN Git Service

Skip comment line starting with a slash
[winbottle/svg-dll.git] / SVG.dpr
diff --git a/SVG.dpr b/SVG.dpr
index 7d2c7ff..7312daf 100644 (file)
--- a/SVG.dpr
+++ b/SVG.dpr
@@ -179,6 +179,9 @@ begin
       end else if SameText(Key, 'surfacefile') then
       begin
         Result := Val;
+      end else if (Length(Val) = 0) or (Val[1] = '/') then
+      begin
+        Continue; // \83R\83\81\83\93\83g\82ð\96³\8e\8b
       end else if SameText(Key, 'surface') or (Length(Key) = 0) then
       begin
         // \83T\81[\83t\83B\83X