On 19 July 2011 01:40, Rodolfo kix Garcia <[email protected]> wrote:
> On 17/07/11 12:05, Christophe CURIS wrote: > >> Hello, >> >> I was happy to discover that WindowMaker is still alive! So please find >> attached my very modest contribution to the aventure. >> >> Basically, there were some cases of "strncpy" usages that could lead to a >> missing NUL terminator, so this should help. >> >> Regards, >> Christophe >> >> >> > Hi, > > is this line correct? > > + title[MAX_WORKSPACENAME_WIDTH] = 0; > > or is: > > + title[MAX_WORKSPACENAME_WIDTH] = '\0'; > > Those two lines are equivalent. '\0' is equal to zero.
