Lotus NOtes & Replication
Richard W. Knight
rick at rlknight.com
Sun Nov 18 11:14:59 CST 2001
lawson_whitney at juno.com wrote:
>On Sat, 17 Nov 2001, Richard W. Knight wrote:
>
>>
>>gerard patel wrote:
>>
>>>Index: windows/win.c
>>>===================================================================
>>>RCS file: /home/wine/wine/windows/win.c,v
>>>retrieving revision 1.169
>>>diff -u -r1.169 win.c
>>>--- windows/win.c 2001/11/14 21:28:37 1.169
>>>+++ windows/win.c 2001/11/17 12:40:39
>>>@@ -1852,10 +1852,10 @@
>>> return 0;
>>> }
>>> /* Special case for dialog window procedure */
>>>+
>>>+ retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
>>> if ((offset == DWL_DLGPROC) && (wndPtr->flags &
>>>WIN_ISDIALOG))
>>>
>
>it ^^^ folded in the mail here.
>
>>> retvalue = (LONG)WINPROC_GetProc( (HWINDOWPROC)retvalue,
>>>type );
>>>
>
>and ^^ here
>
>>>- else
>>>- retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
>>> WIN_ReleasePtr( wndPtr );
>>> return retvalue;
>>> }?
>>>
>
>And this ^^^^^ looks like garbage. The line ends with }.
>
>>Gerard, thanks for the patch but, I wasn't able to aply it. When I try
>>to, I get the message..
>>
>>skipping patch.
>> patch: **** malformed patch at line 15: WIN_ISDIALOG))
>>
>>Any idea why I'm getting this?
>>
>>Thanks again,
>>Rick Knight
>>(rick at rlknight.com)
>>
>
>I don't enjoy unfolding patches, so in case you don't either, I've
>attached Gerard's patch from wine-patches to try how a mime attachment
>will come through. If it comes through, it should apply clean to the
>current CVS. If not, I'll think up another way.
>
>Lawson
>
>
>------------------------------------------------------------------------
>
>Index: windows/win.c
>===================================================================
>RCS file: /home/wine/wine/windows/win.c,v
>retrieving revision 1.169
>diff -u -r1.169 win.c
>--- windows/win.c 2001/11/14 21:28:37 1.169
>+++ windows/win.c 2001/11/17 12:40:39
>@@ -1852,10 +1852,10 @@
> return 0;
> }
> /* Special case for dialog window procedure */
>+
>+ retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
> if ((offset == DWL_DLGPROC) && (wndPtr->flags & WIN_ISDIALOG))
> retvalue = (LONG)WINPROC_GetProc( (HWINDOWPROC)retvalue, type );
>- else
>- retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
> WIN_ReleasePtr( wndPtr );
> return retvalue;
> }
>
Thanks Gerard and Lawson, I was able to save the attached patch and
apply it no problem and, best of, the patch solved the problem.
Thank you both.
--
Rick Knight
(rick at rlknight.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20011118/d42d5912/attachment.html
More information about the wine-users
mailing list