---
src/status.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/status.c b/src/status.c
index 78703ee..98a393f 100644
--- a/src/status.c
+++ b/src/status.c
@@ -37,7 +37,7 @@ elapsed_percent(const struct mpd_status *status)
unsigned elapsed = mpd_status_get_elapsed_time(status);
unsigned total = mpd_status_get_total_time(status);
- if (total <= 0)
+ if (total == 0)
return 0;
if (elapsed >= total)
--
1.7.7.3
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Musicpd-dev-team mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team