Re: imm32: ImmGetCandidateWindow should not return unset data

2013-10-01 Thread Aric Stewart
Ok, fixed and resent -aric On 10/1/13 2:13 PM, Alexandre Julliard wrote: > Aric Stewart writes: > >> @@ -663,6 +663,8 @@ HIMC WINAPI ImmCreateContext(void) >> gl->dwSize = sizeof(GUIDELINE); >> ImmUnlockIMCC(new_context->IMC.hGuideLine); >> >> +memset(new_context->IMC.cfCandF

Re: imm32: ImmGetCandidateWindow should not return unset data

2013-10-01 Thread Alexandre Julliard
Aric Stewart writes: > @@ -663,6 +663,8 @@ HIMC WINAPI ImmCreateContext(void) > gl->dwSize = sizeof(GUIDELINE); > ImmUnlockIMCC(new_context->IMC.hGuideLine); > > +memset(new_context->IMC.cfCandForm, -1, > sizeof(new_context->IMC.cfCandForm)); > + That's ugly. If you are using th