diff src/xs_fileinfo.c @ 798:4c5b695fd85e

Rename variables.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Nov 2012 11:24:29 +0200
parents 8f0d11865742
children b02f934d8224
line wrap: on
line diff
--- a/src/xs_fileinfo.c	Wed Nov 07 11:21:44 2012 +0200
+++ b/src/xs_fileinfo.c	Wed Nov 07 11:24:29 2012 +0200
@@ -54,7 +54,7 @@
         gboolean isEnabled;
         GtkAdjustment *tmpAdj;
 
-        if (xs_status.tuneInfo && xs_status.isPlaying && (xs_status.tuneInfo->nsubTunes > 1)) {
+        if (xs_status.tuneInfo && xs_status.playing && (xs_status.tuneInfo->nsubTunes > 1)) {
             tmpAdj = gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")));
 
             tmpAdj->value = xs_status.currSong;
@@ -87,7 +87,7 @@
     XS_MUTEX_LOCK(xs_status);
     XS_MUTEX_LOCK(xs_fileinfowin);
 
-    if (xs_status.tuneInfo && xs_status.isPlaying) {
+    if (xs_status.tuneInfo && xs_status.playing) {
         n = (gint) gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")))->value;
         if ((n >= 1) && (n <= xs_status.tuneInfo->nsubTunes))
             xs_status.currSong = n;