map

minimalist audio player
git clone https://git.porkepik.fr/map
Log | Files | Refs | README | LICENSE

commit a28ef50ab83c0c3475e61ab43c860e3e998f20ed
parent 8c9cb165938d11c5ffb4500684e381230543c858
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Sat, 31 Aug 2019 18:39:27 +0200

remove -Wextra

Diffstat:
MMakefile | 2+-
Mmap.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,6 @@ .POSIX: PREFIX = /usr/local -CFLAGS = -O2 -std=c99 -D_DEFAULT_SOURCE -Wall -Wextra +CFLAGS = -O2 -std=c99 -D_DEFAULT_SOURCE -Wall LDLIBS = -lasound -lm OBJ = alsa.o flac.o map.o mp3.o term.o vorbis.o wav.o BIN = map diff --git a/map.c b/map.c @@ -127,7 +127,7 @@ print_timer(int timersec, int track_sec) { set_cursor(rows - 1, 13); write_term("\x1b[1K %d:%02d", timersec / 60, timersec % 60); - write_term(" / %d:%02d", track_sec / 60, track_sec % 60); + write_term(" / %d:%02d ", track_sec / 60, track_sec % 60); } static void