mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Clean up gcc/g++ compiler warnings that have accumulated.
This commit is contained in:
parent
43d673b576
commit
e85438cba0
42 changed files with 82 additions and 106 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "Xlib.h"
|
||||
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace Xlib
|
||||
|
@ -93,7 +95,7 @@ KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* key
|
|||
KeySym keysym = 0;
|
||||
do
|
||||
{
|
||||
keysym = XKeycodeToKeysym(m_display, keycode, i);
|
||||
keysym = XkbKeycodeToKeysym(m_display, keycode, i, 0);
|
||||
i++;
|
||||
}
|
||||
while (keysym == NoSymbol && i < 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue