On 20100...@19:25, George Danchev wrote: > ... > --- src/DebugConsole.cpp.orig 2010-01-16 19:06:33.000000000 +0200 > +++ src/DebugConsole.cpp 2010-01-16 19:06:38.000000000 +0200 > @@ -119,7 +119,7 @@ > if(!nc)return -1; > nl=lines_count(cs,lwidth); > // we count exactly the number of new entries needed in > the arrays we have > - if((s=strchr(cs,'\n'))!=NULL && > s!=cs)nl+=(ccol+(s-cs-1))/lwidth;// single line with \n or multiline > + if((s=const_cast<char*>(strchr(cs,'\n')))!=NULL && > s!=cs)nl+=(ccol+(s-cs-1))/lwidth;// single line with \n or multiline > else nl+=(strlen(cs)+ccol)/lwidth; // single line, > with no terminators > > /* > ...
Hi George, thank you for the patch. I just applied this patch the fim repositories, and it will fix this bug in a forthcoming fim upload. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org