From: Johannes Schindelin Date: Fri, 26 Jan 2007 21:15:20 GMT Subject: Re: [PATCH] diff --check: use colour Message-ID: In-Reply-To: <7vejpi63py.fsf@assigned-by-dhcp.cox.net> Hi, On Thu, 25 Jan 2007, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Is it possible that diff_get_color() _never_ returns NULL? > > I think so, although it may often return a pointer that points > at NUL (e.g under --no-color option). Ah! I misread that particular part of the code. It says "if (!*ws)", not -- as I read it -- "if (!ws)". Ciao, Dscho