aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_song.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-27 18:05:28 +0100
committerMax Kellermann <max@duempel.org>2008-11-27 18:05:28 +0100
commitb512802eb2babc879a109d16ce4a32b2fb1c22ef (patch)
treea2e28c2541ebb03e0254ab0d2f18c6cf35286f7b /src/screen_song.c
parent45352152fbdcac20b39161069406ad6d5288bd98 (diff)
downloadmpd-b512802eb2babc879a109d16ce4a32b2fb1c22ef.tar.gz
mpd-b512802eb2babc879a109d16ce4a32b2fb1c22ef.tar.xz
mpd-b512802eb2babc879a109d16ce4a32b2fb1c22ef.zip
list_window: converted "flags" to one "bool" variable
Currently, there is only one known list_window flag ("hide_cursor"). Replace the "flags" bit field with a boolean variable. If we run out of space some day, we can convert that to bool:1.
Diffstat (limited to 'src/screen_song.c')
-rw-r--r--src/screen_song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_song.c b/src/screen_song.c
index 2c73ea6f5..4a8f7169f 100644
--- a/src/screen_song.c
+++ b/src/screen_song.c
@@ -78,7 +78,7 @@ screen_song_init(WINDOW *w, int cols, int rows)
{
current.lines = g_ptr_array_new();
lw = list_window_init(w, cols, rows);
- lw->flags = LW_HIDE_CURSOR;
+ lw->hide_cursor = true;
}
static void