Sfoglia il codice sorgente

replace AnsiString and AnsiChar with Char.

Ugochukwu Mmaduekwe 7 anni fa
parent
commit
354ed0f038

+ 2 - 2
QRCodeGenLib/src/Interfaces/QlpIQrCode.pas

@@ -142,7 +142,7 @@ type
     /// <summary>
     /// Returns a string of SVG code for an image depicting this QR Code,
     /// with the specified number of border modules. The string always uses
-    /// Unix newlines AnsiChar(#10), regardless of the platform.
+    /// Unix newlines Char(#10), regardless of the platform.
     /// </summary>
     /// <param name="ABorder">
     /// the number of border modules to add, which must be non-negative
@@ -158,7 +158,7 @@ type
     /// <summary>
     /// saves a string of SVG code for an image depicting this QR Code, with
     /// the specified number of border modules as an svg file. The string
-    /// always uses Unix newlines AnsiChar(#10), regardless of the platform.
+    /// always uses Unix newlines Char(#10), regardless of the platform.
     /// </summary>
     /// <param name="ABorder">
     /// the number of border modules to add, which must be non-negative

+ 4 - 4
QRCodeGenLib/src/QRCodeGen/QlpQrCode.pas

@@ -84,8 +84,8 @@ type
 {$SCOPEDENUMS OFF}
   strict private
   const
-    UNIX_NEW_LINE = AnsiString(#10);
-    TAB = AnsiString(#9);
+    UNIX_NEW_LINE = Char(#10);
+    TAB = Char(#9);
 
     // For use in GetPenaltyScore(), when evaluating which mask is best.
     PENALTY_N1 = Int32(3);
@@ -394,7 +394,7 @@ type
     /// <summary>
     /// Returns a string of SVG code for an image depicting this QR Code,
     /// with the specified number of border modules. The string always uses
-    /// Unix newlines AnsiString(#10), regardless of the platform.
+    /// Unix newlines Char(#10), regardless of the platform.
     /// </summary>
     /// <param name="ABorder">
     /// the number of border modules to add, which must be non-negative
@@ -410,7 +410,7 @@ type
     /// <summary>
     /// saves a string of SVG code for an image depicting this QR Code, with
     /// the specified number of border modules as an svg file. The string
-    /// always uses Unix newlines AnsiString(#10), regardless of the platform.
+    /// always uses Unix newlines Char(#10), regardless of the platform.
     /// </summary>
     /// <param name="ABorder">
     /// the number of border modules to add, which must be non-negative