Skip to content
Permalink
Browse files

Dont redeclare DBusMessage* msg;

  • Loading branch information
BrandonSchaefer committed Jul 18, 2014
1 parent 96b613e commit 75dacdb99b3846d6087121cc03cefe7e04cd2495
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/linux/SDL_ibus.c
@@ -331,10 +331,10 @@ IBus_SetupConnection(SDL_DBusContext *dbus, const char* addr)
}

if(result){
DBusMessage *msg = dbus->message_new_method_call(IBUS_SERVICE,
input_ctx_path,
IBUS_INPUT_INTERFACE,
"SetCapabilities");
msg = dbus->message_new_method_call(IBUS_SERVICE,
input_ctx_path,
IBUS_INPUT_INTERFACE,
"SetCapabilities");
if(msg){
Uint32 caps = IBUS_CAP_FOCUS | IBUS_CAP_PREEDIT_TEXT;
dbus->message_append_args(msg,

0 comments on commit 75dacdb

Please sign in to comment.