Re: Broken view.h



Hi, Steef!

> A small bug entered the code of mc-2001-07-29-14.tar.gz snapshot
> in src/view.h line 146:

Already fixed.  Sorry for inconvenience.

>   int view_ok_to_quit (WView *view);
>
> should be either within the
>   #ifdef HAVE_X
>   #ifdef WANT_WIDGETS
> contruct at line 155 or between the
>   #ifdef WANT_WIDGETS

The later is better.  Otherwise "gcc -Wmissing-declarations" would report
that view_ok_to_quit has no declaration while compiling the text edition.

In the long run, all those WANT_WIDGETS should go away.  Including full
headers should not harm anyone.

-- 
Regards,
Pavel Roskin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]