Mercurial > hg > xmms-sid
diff src/xs_about.c @ 752:64e7e427a436
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 18:47:33 +0200 |
parents | 3180bf22090f |
children | cc290afcb7e2 |
line wrap: on
line diff
--- a/src/xs_about.c Mon Nov 05 18:42:57 2012 +0200 +++ b/src/xs_about.c Mon Nov 05 18:47:33 2012 +0200 @@ -37,15 +37,15 @@ */ gint xs_about_theme(void) { - const gint iSession = 0; /* Assume session 0 */ - gint iPos; + const gint session = 0; /* Assume session 0 */ + gint pos; /* Stop current song, add theme to playlist, play. */ - xmms_remote_stop(iSession); - iPos = xmms_remote_get_playlist_length(iSession); - xmms_remote_playlist_add_url_string(iSession, THEMETUNE_FILE); - xmms_remote_set_playlist_pos(iSession, iPos); - xmms_remote_play(iSession); + xmms_remote_stop(session); + pos = xmms_remote_get_playlist_length(session); + xmms_remote_playlist_add_url_string(session, THEMETUNE_FILE); + xmms_remote_set_playlist_pos(session, pos); + xmms_remote_play(session); return 0; } #endif