Skip to content

Commit

Permalink
Use g_build_filename() instead of g_strconcat().
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed May 21, 2008
1 parent fe45471 commit a9bd1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
gint started = FALSE;
gchar *buf;

buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/.command", NULL);
buf = g_build_filename(homedir(), GQ_RC_DIR, ".command", NULL);
rc = remote_client_open(buf);
if (!rc)
{
Expand Down

0 comments on commit a9bd1c7

Please sign in to comment.