Explorar o código

+ Fixed tfpgtkclist.getcelltext

michael %!s(int64=22) %!d(string=hai) anos
pai
achega
3e0ea52795
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/extra/fpgtk/fpgtk.pp

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

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