Re: wine bug 27600

2011-07-01 Thread Vincas Miliūnas
On 07/02/2011 04:21 AM, Austin Lund wrote: > On 1 July 2011 06:10, wrote: >> >> gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ >> -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing >> -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes >> -Wtype-limits -Wwrite-strings -

copy/paste bug in imm32: Test and fix ImmIsUIMessageA/W?

2011-07-01 Thread wylda
Hi, i guess you know my programming skill, so be nice to me if total nonsence: if ( ... || ... +(msg == WM_IME_SELECT) || +(msg == WM_IME_SELECT) || ... seem to redundant. It happens it two places. Regards, W.

Re: wine bug 27600

2011-07-01 Thread Austin Lund
On 1 July 2011 06:10, wrote: > > > gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ > -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing > -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes > -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2  -o adsiid.o > adsiid.c >

Re: [2/6] wined3d: Move FBO application into a state handler

2011-07-01 Thread Stefan Dösinger
On Friday 01 July 2011 20:26:58 Henri Verbeet wrote: > On 1 July 2011 18:49, Stefan Dösinger wrote: > > I put the code that used to be in context_apply_draw_state into state.c > > because the FBO stuff is now a state handler. The alternative would be to > > keep it in context.c and just export one

Re: [2/6] wined3d: Move FBO application into a state handler

2011-07-01 Thread Henri Verbeet
On 1 July 2011 18:49, Stefan Dösinger wrote: > I put the code that used to be in context_apply_draw_state into state.c > because the FBO stuff is now a state handler. The alternative would be to keep > it in context.c and just export one function - that means we don't need the rt > mask functions

Re: [PATCH] advapi32: Set *lpSize properly in GetUserNameA (resend)

2011-07-01 Thread Alexandre Julliard
Alex Stanev writes: > -ret = GetUserNameW( buffer, &sizeW ); > +ret = GetUserNameW( buffer, lpSize ); > if (ret) > -WideCharToMultiByte( CP_ACP, 0, buffer, -1, lpszName, *lpSize, NULL, > NULL ); > -else > -*lpSize = sizeW; > +*lpSize = WideCharToMultiByte

try to open *.doc files with explorer.exe

2011-07-01 Thread Vitaly Perov
Windows can open *.doc files with command $explorer example.doc Several applications (for example russian accounting application "1C") use this command. Wine can't do it. I have prepared a patch to fix this bug. It works, but it seems a little bit hacky now. Please, help me to implement it corr