From 66dab193f3b931f4c4497a729ceb818e6e894b9d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 1 Jun 2005 09:40:02 +0000 Subject: [PATCH] function key notifications became notifies fix --- servers/fs/dmp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/servers/fs/dmp.c b/servers/fs/dmp.c index 4c8c3a77b..f0a799151 100644 --- a/servers/fs/dmp.c +++ b/servers/fs/dmp.c @@ -26,13 +26,22 @@ FORWARD _PROTOTYPE( void fproc_dmp, (void)); PUBLIC int do_fkey_pressed(void) { printf("Debug dump of FS data structure: "); +#if DEAD_CODE switch (m_in.FKEY_CODE) { +#else + switch (m_in.NOTIFY_FLAGS) { +#endif case SF5: fproc_dmp(); break; case SF6: dtab_dmp(); break; default: +#if DEAD_CODE printf("FS: unhandled notification for Shift+F%d key.\n", m_in.FKEY_NUM); +#else + printf("FS: unhandled notification for Shift+F%d key.\n", + m_in.NOTIFY_FLAGS); +#endif } } -- 2.44.0