Skip to content

Commit

Permalink
Dont redeclare DBusMessage* msg;
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSchaefer committed Jul 18, 2014
1 parent 96b613e commit 75dacdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/linux/SDL_ibus.c
Expand Up @@ -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,
Expand Down

0 comments on commit 75dacdb

Please sign in to comment.