Browse Source

* change parameter order to be compatible with system.insert

mazen 21 years ago
parent
commit
f839ec946d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/objpas/utf8bidi.pp

+ 2 - 2
rtl/objpas/utf8bidi.pp

@@ -20,7 +20,7 @@ type
 
 function UnicodeToUtf8(aChar:TUCS32Char):TUTF8Char;
 function UnicodeToUtf8(aChar:WideChar):TUTF8Char;
-procedure insert(CharToInsert:TUTF8Char;var uString:TUTF8Str; var CursorPos:Integer);
+procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
 
 implementation
 
@@ -53,7 +53,7 @@ begin
   UnicodeToUtf8(Word(aChar));
 end;
 
-procedure insert(CharToInsert:TUTF8Char;var uString:TUTF8Str; var CursorPos:Integer);
+procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
 var
 {At beginning of the line we don't know which direction, thus the first
  character usually decides of paragrph direction}