Browse Source

Fix AsciiTab proble for powerpc64, InfoLong and InfoPtr are not equivalent

git-svn-id: trunk@19841 -
pierre 13 years ago
parent
commit
8b86d4ecb3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fv/src/asciitab.pas

+ 2 - 2
packages/fv/src/asciitab.pas

@@ -183,7 +183,7 @@ var
     DrawCurPos(true);
     DrawCurPos(true);
     ClearEvent(Event);
     ClearEvent(Event);
   end;
   end;
-  
+
 begin
 begin
   case Event.What of
   case Event.What of
     evMouseDown :
     evMouseDown :
@@ -249,7 +249,7 @@ begin
   if (Event.what=evCommand) and
   if (Event.what=evCommand) and
      (Event.Command =  AsciiTableCommandBase) then
      (Event.Command =  AsciiTableCommandBase) then
     begin
     begin
-      AsciiChar:=Event.InfoLong;
+      AsciiChar:=PtrInt(Event.InfoPtr);
       Draw;
       Draw;
       ClearEvent(Event);
       ClearEvent(Event);
     end
     end