- avoid using #define LOG_THIS...#undef LOG_THIS trick, and just

call panic directly.  This solves bug [ #464258 ] LOG_THIS redefined in
  keyboard.h
This commit is contained in:
Bryce Denney 2001-09-24 04:59:35 +00:00
parent 382270fcb4
commit 140a7a23b8
1 changed files with 1 additions and 3 deletions

View File

@ -140,9 +140,7 @@ private:
break;
default:
#define LOG_THIS bx_keyboard.
BX_PANIC(("mouse: invalid resolution_cpmm"));
#undef LOG_THIS
bx_keyboard.panic("mouse: invalid resolution_cpmm");
};
return ret;
}