From: Kalle Wallin Date: Tue, 20 Apr 2004 10:50:51 +0000 (+0000) Subject: Initialize highlight to zero. X-Git-Tag: v0.12_alpha1~576 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5f2cb3d4b5d5024fc33c797ff6afdf0d569a3b20;p=ncmpc.git Initialize highlight to zero. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@845 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/list_window.c b/list_window.c index fcb25ca..d0fcaa5 100644 --- a/list_window.c +++ b/list_window.c @@ -152,7 +152,7 @@ list_window_paint(list_window_t *lw, for(i=0; irows; i++) { - int highlight; + int highlight = 0; char *label; label = (callback) (lw->start+i, &highlight, callback_data);