SetDesktopWallPaper() should call SystemParametersInfoA()

Andrew Ziem ahziem1 at mailbolt.com
Mon Jul 17 10:25:13 CDT 2006


Dmitry Timoshkov wrote:
> "Andrew Ziem" <ahziem1 at mailbolt.com> wrote:
>
>> -static HBITMAP hbitmapWallPaper;
>> -static SIZE bitmapSize;
>> -static BOOL fTileWallPaper;
>> +HBITMAP hbitmapWallPaper; /* desktop wallpaper */
>> +SIZE bitmapSize; /* size of desktop wallpaper */
>> +BOOL fTileWallPaper;
>
> If the varaibles are no more used in this file you should not make
> static variables public, but move them into appropriate file instead.
>
All these variables are now used in two files: desktop.c and sysparams.c


Andrew



More information about the wine-devel mailing list