pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/ncmpc Pad out the time display on status line wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8697cf35abc
branches: trunk
changeset: 480354:a8697cf35abc
user: simonb <simonb%pkgsrc.org@localhost>
date: Tue Sep 07 08:05:50 2004 +0000
description:
Pad out the time display on status line with an extra space so that the
closing ']' doesn't disappear.
Problem report and suggested fix sent on to musicpd folks.
diffstat:
audio/ncmpc/distinfo | 3 ++-
audio/ncmpc/patches/patch-ab | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r a1aa5b99243f -r a8697cf35abc audio/ncmpc/distinfo
--- a/audio/ncmpc/distinfo Tue Sep 07 07:12:14 2004 +0000
+++ b/audio/ncmpc/distinfo Tue Sep 07 08:05:50 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/07/14 10:47:57 grant Exp $
+$NetBSD: distinfo,v 1.4 2004/09/07 08:05:50 simonb Exp $
SHA1 (ncmpc-0.11.0.tar.gz) = 5adab98537fdcd88a2296b4ef738614be81d0e83
Size (ncmpc-0.11.0.tar.gz) = 242626 bytes
SHA1 (patch-aa) = 3288d2b41ed02791639478aec9ac30fe2ee6eef0
+SHA1 (patch-ab) = 5e2a694368fca547ceeda409d5e64dfaf8c24cc0
diff -r a1aa5b99243f -r a8697cf35abc audio/ncmpc/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ncmpc/patches/patch-ab Tue Sep 07 08:05:50 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/09/07 08:05:50 simonb Exp $
+
+--- src/screen.c.orig 2004-07-09 17:49:42.000000000 +1000
++++ src/screen.c
+@@ -267,7 +267,7 @@ paint_status_window(mpdclient_t *c)
+ if( c->song && seek_id == c->song->id )
+ elapsedTime = seek_target_time;
+ snprintf(screen->buf, screen->buf_size,
+- " [%i:%02i/%i:%02i]",
++ " [%i:%02i/%i:%02i] ",
+ elapsedTime/60, elapsedTime%60,
+ status->totalTime/60, status->totalTime%60 );
+ }
Home |
Main Index |
Thread Index |
Old Index