discomfitor pushed a commit to branch master. http://git.enlightenment.org/apps/empc.git/commit/?id=1daabc4f2b963d3d87198249bfa0d827486cb704
commit 1daabc4f2b963d3d87198249bfa0d827486cb704 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Feb 8 11:52:46 2016 -0500 don't show total track count in tooltip if track number is larger than total this isn't a totally accurate method of showing the track count, so at least be less obvious about it in cases where it's flagrantly wrong --- src/bin/empc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/empc.c b/src/bin/empc.c index a9df3b8..b03e180 100644 --- a/src/bin/empc.c +++ b/src/bin/empc.c @@ -587,7 +587,10 @@ tooltip_create(Evas_Object *tooltip, Elm_Object_Item *item) else { elm_object_text_set(name, _("Track:")); - snprintf(buf, sizeof(buf), "%d/%u", so->track, elm_genlist_item_subitems_count(it)); + if (so->track > (int)elm_genlist_item_subitems_count(it)) + snprintf(buf, sizeof(buf), "%d", so->track); + else + snprintf(buf, sizeof(buf), "%d/%u", so->track, elm_genlist_item_subitems_count(it)); } elm_object_text_set(value, buf); } --