瀏覽代碼

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

git-svn-id: trunk@19841 -
pierre 13 年之前
父節點
當前提交
8b86d4ecb3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/fv/src/asciitab.pas

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

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