diff options
author | simonb <simonb@pkgsrc.org> | 2004-09-07 08:05:50 +0000 |
---|---|---|
committer | simonb <simonb@pkgsrc.org> | 2004-09-07 08:05:50 +0000 |
commit | f816cf7562812000cec4b70e585173288483369e (patch) | |
tree | bd90db52e949364d7f5f617f87326ccca34c3a13 /audio | |
parent | 5bf9ba7593e95ef130f084432defabea40a3acbd (diff) | |
download | pkgsrc-f816cf7562812000cec4b70e585173288483369e.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')
-rw-r--r-- | audio/ncmpc/distinfo | 3 | ||||
-rw-r--r-- | audio/ncmpc/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo index 222df386203..d1cfdec78cc 100644 --- a/audio/ncmpc/distinfo +++ b/audio/ncmpc/distinfo @@ -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 --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 ); + } |