freebsd-ports/audio/tunesbrowser/files/patch-misc_ui.c
Pav Lucistnik 817e053e7a Add tunesbrowser, a simple music player, capable of playing music found on
iTunes(R) shares.

PR:		ports/69692
Submitted by:	Michael Johnson <ahze@ahze.net>
2004-07-29 23:41:10 +00:00

12 lines
342 B
C

--- misc_ui.c.orig Wed Jul 28 06:41:58 2004
+++ misc_ui.c Wed Jul 28 06:43:37 2004
@@ -139,8 +139,8 @@
if (seconds >= 0)
{
int minutes = seconds / 60;
+ char bufstr[11];
seconds -= minutes * 60;
- char bufstr[11] = {0};
snprintf(bufstr, 10, "%i:%02i",
minutes, seconds);