Browse Source

* string -> shortstring

Michael VAN CANNEYT 2 years ago
parent
commit
dd46dd133a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      rtl/haiku/system.pp

+ 4 - 4
rtl/haiku/system.pp

@@ -115,7 +115,7 @@ var
  cookie: longint;
  cookie: longint;
  image : image_info;
  image : image_info;
  index : byte;
  index : byte;
- s : string;
+ s : shortstring;
 begin
 begin
   cookie:=0;
   cookie:=0;
   fillchar(image, sizeof(image_info), 0);
   fillchar(image, sizeof(image_info), 0);
@@ -135,10 +135,10 @@ begin
     end;
     end;
 end;
 end;
 
 
-function paramstr(l: longint) : string;
+function paramstr(l: longint) : shortstring;
 var
 var
-  s: string;
-  s1: string;
+  s: shortstring;
+  s1: shortstring;
 begin
 begin
   { stricly conforming POSIX applications  }
   { stricly conforming POSIX applications  }
   { have the executing filename as argv[0] }
   { have the executing filename as argv[0] }