diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index e472fa3a..b136da80 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -120,8 +120,10 @@ static void exec_cmd_entry ( DRunModeEntry *e ) } } } - execsh ( g_strstrip ( str ), e->terminal ); + gchar *fp = rofi_expand_path ( g_strstrip ( str ) ); + execsh ( fp, e->terminal ); g_free ( str ); + g_free ( fp ); } /** * Internal spider used to get list of executables. diff --git a/source/textbox.c b/source/textbox.c index eed72705..6a2ee40e 100644 --- a/source/textbox.c +++ b/source/textbox.c @@ -145,7 +145,7 @@ static void __textbox_update_pango_text ( textbox *tb ) } else { pango_layout_set_attributes ( tb->layout, NULL ); - pango_layout_set_text ( tb->layout, tb->text, -1); + pango_layout_set_text ( tb->layout, tb->text, -1 ); } }