diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-08-09 09:23:38 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-08-09 09:23:38 +0200 |
commit | 4c228cd60890c0ef09c345c13713453c4c2dd508 (patch) | |
tree | 12b39298dd172291ea82529354578cf6e0cf8d73 /src/ui.c | |
parent | bc6bd8a2b8b84a79dd77b81d6a25b661c5d1d1ca (diff) | |
download | pianobar-4c228cd60890c0ef09c345c13713453c4c2dd508.tar.gz pianobar-4c228cd60890c0ef09c345c13713453c4c2dd508.tar.bz2 pianobar-4c228cd60890c0ef09c345c13713453c4c2dd508.zip |
Allow choosing time format
Introduce new format string for playback time, supporting formats like
-remaining/total, elapsed/total, …
Fixes #699.
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -652,7 +652,7 @@ char *BarUiSelectMusicId (BarApp_t *app, PianoStation_t *station, * @param format characters * @param replacement for each given format character */ -static void BarUiCustomFormat (char *dest, size_t destSize, const char *format, +void BarUiCustomFormat (char *dest, size_t destSize, const char *format, const char *formatChars, const char **formatVals) { bool haveFormatChar = false; |