-#include "../../kernel/openbox.h"
+#include "kernel/openbox.h"
#include <glib.h>
#include <string.h>
goto translation_fail;
}
*keycode = XKeysymToKeycode(ob_display, sym);
- if (!keycode) {
+ if (!*keycode) {
g_warning("Key '%s' does not exist on the display.", l);
goto translation_fail;
}