[Libreoffice] [PATCH] Splash screen fix for multi-head on Linux (bug 33214)

Christian Lohmaier lohmaier+libreoffice at googlemail.com
Thu Jul 21 04:40:58 PDT 2011


Hi Kendy, Josh, *,

On Wed, Jul 20, 2011 at 6:31 PM, Jan Holesovsky <kendy at suse.cz> wrote:
> On 2011-07-20 at 13:23 +0200, Christian Lohmaier wrote:
>
>> Any specific reason for this construct?
>>
>> +        int i = 0;
>> +        for( ; i < n_xinerama_screens; i++ )
>
> Like, why not for( int i = 0; i < n_xinerama_screens; i++ ) ?

Yes, exactly.

> The
> splash is in C, not C++, so this wouldn't work there (unless C99 mode is
> used I think).

Thanks a lot :-) Learning new (or old, depends on how you look at it
:-)) every day...

ciao
Christian


More information about the LibreOffice mailing list