summaryrefslogtreecommitdiff
path: root/audio/ncmpc/patches
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2004-09-07 08:05:50 +0000
committersimonb <simonb@pkgsrc.org>2004-09-07 08:05:50 +0000
commite8ff51c8e453265157b488d77e24f4dc497436e1 (patch)
treebd90db52e949364d7f5f617f87326ccca34c3a13 /audio/ncmpc/patches
parent6e7f0a54a1dbc36ef273dbe79ce8d83b8141b00a (diff)
downloadpkgsrc-e8ff51c8e453265157b488d77e24f4dc497436e1.tar.gz
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 (limited to 'audio/ncmpc/patches')
-rw-r--r--audio/ncmpc/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/ncmpc/patches/patch-ab b/audio/ncmpc/patches/patch-ab
new file mode 100644
index 00000000000..dd393f45c54
--- /dev/null
+++ b/audio/ncmpc/patches/patch-ab
@@ -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 );
+ }