summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6531079)
raw | patch | inline | side by side (parent: 6531079)
author | Max Kellermann <max@duempel.org> | |
Thu, 1 Oct 2009 17:40:43 +0000 (19:40 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 1 Oct 2009 17:40:43 +0000 (19:40 +0200) |
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index d9e7fdbe86ed0510a61ffd7d856e652b2e678a0b..34330ff7a3c8c82472f49a3ee51276660587df2a 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
screen_switch(sf, c);
}
-static inline int
-volume_length(int volume)
-{
- if (volume == 100)
- return 3;
- if (volume >= 10 && volume < 100)
- return 2;
- if (volume >= 0 && volume < 10)
- return 1;
- return -1;
-}
-
static void
paint_top_window(const char *header, const struct mpdclient *c)
{