Browse Source

* Additional fix for GetDelimitedText

git-svn-id: trunk@46715 -
michael 4 years ago
parent
commit
df9cea5cc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/classes/stringl.inc

+ 1 - 1
rtl/objpas/classes/stringl.inc

@@ -249,7 +249,7 @@ begin
       Result:=Result+Delimiter;
     end;
   // Quote empty string:
-  If (Length(Result)=0) and (Count=1) then
+  If (Length(Result)=0) and (Count=1) and (QuoteChar<>#0) then
     Result:=QuoteChar+QuoteChar;
 end;