瀏覽代碼

* fixed to compile with debug

peter 24 年之前
父節點
當前提交
8f282730b9
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      rtl/win32/keyboard.pp

+ 4 - 6
rtl/win32/keyboard.pp

@@ -28,9 +28,7 @@ implementation
 }
 }
 
 
 uses
 uses
-{$ifndef DEBUG}
    Windows,
    Windows,
-{$endif DEBUG}
    Dos,
    Dos,
    WinEvent;
    WinEvent;
 
 
@@ -696,9 +694,6 @@ begin
      if getKeyEventFromQueueWait (t) then
      if getKeyEventFromQueueWait (t) then
        key := translateKey (t);
        key := translateKey (t);
   until key <> 0;
   until key <> 0;
-{$ifdef DEBUG}
-  last_ir.KeyEvent:=t;
-{$endif DEBUG}
   GetKeyEvent := key;
   GetKeyEvent := key;
 end;
 end;
 
 
@@ -786,7 +781,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.2  2001-01-14 22:20:00  peter
+  Revision 1.3  2001-05-20 12:08:17  peter
+    * fixed to compile with debug
+
+  Revision 1.2  2001/01/14 22:20:00  peter
     * slightly optimized event handling (merged)
     * slightly optimized event handling (merged)
 
 
   Revision 1.1  2001/01/13 11:03:59  peter
   Revision 1.1  2001/01/13 11:03:59  peter