Browse Source

+ Fixed tfpgtkclist.getcelltext

michael 22 years ago
parent
commit
3e0ea52795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/extra/fpgtk/fpgtk.pp

+ 1 - 1
packages/extra/fpgtk/fpgtk.pp

@@ -7941,7 +7941,7 @@ begin
   if (r = 0) then
   if (r = 0) then
     result := ''
     result := ''
   else
   else
-    result := string(s^);
+    result := strpas(s);
 end;
 end;
 
 
 procedure TFPgtkCList.SetCellText (Row:integer; Column:integer; TheValue:string);
 procedure TFPgtkCList.SetCellText (Row:integer; Column:integer; TheValue:string);