Fix htmldoc

- remove call to GFX2_Log() in Get_Key_modifiers()
- define X11_key_mod in generatedoc.c (API=x11)
This commit is contained in:
Thomas Bernard 2019-06-26 23:36:07 +02:00
parent 788d05111a
commit dbaa8137e9
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
2 changed files with 4 additions and 1 deletions

View File

@ -36,6 +36,10 @@
#include "keyboard.h" // for Key_Name()
#include "windows.h" // for T_Toolbar_button
#if defined(USE_X11)
word X11_key_mod = 0;
#endif
static T_Toolbar_button Buttons[NB_BUTTONS];
/// available skins

View File

@ -365,7 +365,6 @@ word Get_Key_modifiers(void)
#endif
modifiers |= GFX2_MOD_META;
GFX2_Log(GFX2_DEBUG, "mod=%x => %04x\n", (unsigned)mod, modifiers);
return modifiers;
}