Re: gdi32: Constification.

2012-04-05 Thread Henri Verbeet
On 5 April 2012 14:37, Kusanagi Kouichi wrote: > FT_Face is a typedef for struct FT_FaceRec_*, so it would be worth > adding const. > Except that "const FT_Face" doesn't do what you think it does.

Re: gdi32: Constification.

2012-04-05 Thread Kusanagi Kouichi
On 2012-04-04 17:35:58 +0200, Alexandre Julliard wrote: > Kusanagi Kouichi writes: > > > @@ -6407,7 +6409,7 @@ static BOOL get_text_metrics(GdiFont *font, > > LPTEXTMETRICW ptm) > > return TRUE; > > } > > > > -static BOOL face_has_symbol_charmap(FT_Face ft_face) > > +static BOOL face_has

Re: gdi32: Constification.

2012-04-04 Thread Alexandre Julliard
Kusanagi Kouichi writes: > @@ -6407,7 +6409,7 @@ static BOOL get_text_metrics(GdiFont *font, > LPTEXTMETRICW ptm) > return TRUE; > } > > -static BOOL face_has_symbol_charmap(FT_Face ft_face) > +static BOOL face_has_symbol_charmap(const FT_Face ft_face) > { > int i; > > @@ -6729,7