hedgewars/uStore.pas
changeset 10131 4b4a043111f4
parent 10130 a9d509848390
child 10133 d73412fbf3b4
--- a/hedgewars/uStore.pas	Tue Feb 11 22:05:03 2014 +0400
+++ b/hedgewars/uStore.pas	Wed Feb 12 00:50:15 2014 +0400
@@ -1279,7 +1279,7 @@
 while length(tmpdesc) > 0 do
     begin
     tmpline:= tmpdesc;
-    SplitByChar(tmpline, tmpdesc, '|');
+    SplitByCharA(tmpline, tmpdesc, '|');
     if length(tmpline) > 0 then
         begin
         TTF_SizeUTF8(Fontz[font].Handle, PChar(tmpline), @i, @j);
@@ -1322,7 +1322,7 @@
 while length(tmpdesc) > 0 do
     begin
     tmpline:= tmpdesc;
-    SplitByChar(tmpline, tmpdesc, '|');
+    SplitByCharA(tmpline, tmpdesc, '|');
     r2:= r;
     if length(tmpline) > 0 then
         begin
@@ -1330,7 +1330,7 @@
 
         // render highlighted caption (if there is a ':')
         tmpline2:= _S'';
-        SplitByChar(tmpline, tmpline2, ':');
+        SplitByCharA(tmpline, tmpline2, ':');
         if length(tmpline2) > 0 then
             begin
             tmpline:= tmpline + ':';