diff src/audacious/main.c @ 2551:cea3528b2996 trunk

[svn] Fix --play-pause commandline option, by Alex "Monkey" Maclean in #gentoo-x86
author chainsaw
date Mon, 19 Feb 2007 06:11:23 -0800
parents 7c6ce705adda
children 7b1b52eb663b
line wrap: on
line diff
--- a/src/audacious/main.c	Mon Feb 19 00:16:28 2007 -0800
+++ b/src/audacious/main.c	Mon Feb 19 06:11:23 2007 -0800
@@ -852,7 +852,7 @@
     {"play", 'p', 0, G_OPTION_ARG_NONE, &options.play, N_("Start playing current playlist"), NULL},
     {"pause", 'u', 0, G_OPTION_ARG_NONE, &options.pause, N_("Pause current song"), NULL},
     {"stop", 's', 0, G_OPTION_ARG_NONE, &options.stop, N_("Stop current song"), NULL},
-    {"play-pause", 't', 0, G_OPTION_ARG_NONE, &options.pause, N_("Pause if playing, play otherwise"), NULL},
+    {"play-pause", 't', 0, G_OPTION_ARG_NONE, &options.play_pause, N_("Pause if playing, play otherwise"), NULL},
     {"fwd", 'f', 0, G_OPTION_ARG_NONE, &options.fwd, N_("Skip forward in playlist"), NULL},
     {"show-jump-box", 'j', 0, G_OPTION_ARG_NONE, &options.show_jump_box, N_("Display Jump to File dialog"), NULL},
     {"enqueue", 'e', 0, G_OPTION_ARG_NONE, &options.enqueue, N_("Don't clear the playlist"), NULL},