summaryrefslogtreecommitdiff
path: root/audio/tunesbrowser/patches/patch-ad
blob: 77d50e0313eeac4f7a2c0d6713d108475619e448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2004/08/14 11:43:53 kristerw Exp $

--- misc_ui.c.orig	Sat Aug 14 13:32:13 2004
+++ misc_ui.c	Sat Aug 14 13:35:31 2004
@@ -138,9 +138,9 @@
 
     if (seconds >= 0)
     {
+        char bufstr[11] = {0};
         int minutes = seconds / 60;
         seconds -= minutes * 60;
-        char bufstr[11] = {0};
 
         snprintf(bufstr, 10, "%i:%02i",
                  minutes, seconds);