On Sun, 16 Jun 2013 at 17:57:42 +0200, Christophe wrote: > From: Christophe CURIS <[email protected]> > > The function contained an internal statement that would have > discarded the const attribute, but as this statement is actually > useless it have been simply removed. > > Signed-off-by: Christophe CURIS <[email protected]> > --- > src/misc.c | 4 ++-- > src/misc.h | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/misc.c b/src/misc.c > index 6b3336d..0765612 100644 > --- a/src/misc.c > +++ b/src/misc.c > @@ -256,7 +256,7 @@ void SlideWindows(Window *wins[], int n, int from_x, int > from_y, int to_x, int t > eatExpose(); > } > > -char *ShrinkString(WMFont * font, char *string, int width) > +char *ShrinkString(WMFont * font, const char *string, int width)
I changed this to (removed the space between * and font) +char *ShrinkString(WMFont *font, const char *string, int width) and also in the other patches whenever I saw the opportunity. -- To unsubscribe, send mail to [email protected].
