* Jeroen Roovers on Thursday, April 18, 2013 at 17:05:02 +0200 > On Wed, 10 Apr 2013 12:25:22 +0100 > Christian Ebert <blacktr...@gmx.net> wrote: >> Current git HEAD d94037c08a6d fails to build like so: >> >> In file included from screen.h:151, >> from ansi.c:36: >> window.h:261: warning: ‘utmp’ is deprecated (declared >> at /usr/include/utmp.h:97) ansi.c: In function ‘MFindUsedLine’: >> ansi.c:2930: error: ‘struct win’ has no member named ‘encoding’ >> make: *** [ansi.o] Error 1 > > I think the attached patch is correct.
Nice, thanks - should've spotted that myself. > --- a/src/ansi.c > +++ b/src/ansi.c > @@ -2927,7 +2927,7 @@ > # endif > #endif > #ifdef UTF8 > - if (p->encoding == UTF8) > + if (p->w_encoding == UTF8) > { > if (ml->font != null && bcmp((char*)ml->font, null, p->w_width)) > break; Builds again like a charm. Thank you. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] free movies --->>> http://www.blacktrash.org/underdogma http://itunes.apple.com/podcast/underdogma-movies/id363423596