<html>
<head>
</head>
<body>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:lawson_whitney@juno.com">lawson_whitney@juno.com</a> wrote:<br>
<blockquote type="cite" cite="mid:20011117.180428.134649736.0.lawson_whitney@juno.com">
  <pre wrap="">On Sat, 17 Nov 2001, Richard W. Knight wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap=""><br>gerard patel wrote:<br></pre>
    <blockquote type="cite">
      <pre wrap="">Index: windows/win.c<br>===================================================================<br>RCS file: /home/wine/wine/windows/win.c,v<br>retrieving revision 1.169<br>diff -u -r1.169 win.c<br>--- windows/win.c       2001/11/14 21:28:37     1.169<br>+++ windows/win.c       2001/11/17 12:40:39<br>@@ -1852,10 +1852,10 @@<br>            return 0;<br>        }<br>        /* Special case for dialog window procedure */<br>+<br>+        retvalue = *(LONG *)(((char *)wndPtr-&gt;wExtra) + offset);<br>        if ((offset == DWL_DLGPROC) &amp;&amp; (wndPtr-&gt;flags &amp;<br>WIN_ISDIALOG))<br></pre>
      </blockquote>
      </blockquote>
      <pre wrap=""><!----><br>it ^^^ folded in the mail here.<br><br></pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">            retvalue = (LONG)WINPROC_GetProc( (HWINDOWPROC)retvalue,<br>type );<br></pre>
          </blockquote>
          </blockquote>
          <pre wrap=""><!----><br>and ^^ here<br></pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">-        else<br>-            retvalue = *(LONG *)(((char *)wndPtr-&gt;wExtra) + offset);<br>        WIN_ReleasePtr( wndPtr );<br>        return retvalue;<br>    } ?<br></pre>
              </blockquote>
              </blockquote>
              <pre wrap=""><!----><br>And this ^^^^^ looks like garbage.  The line ends with }.<br></pre>
              <blockquote type="cite">
                <pre wrap="">Gerard, thanks for the patch but, I wasn't able to aply it. When I try<br>to, I get the message..<br><br>skipping patch.<br> patch: **** malformed patch at line 15: WIN_ISDIALOG))<br><br>Any idea why I'm getting this?<br><br>Thanks again,<br>Rick Knight<br>(<a class="moz-txt-link-abbreviated" href="mailto:rick@rlknight.com">rick@rlknight.com</a>)<br></pre>
                </blockquote>
                <pre wrap=""><!----><br>I don't enjoy unfolding patches, so in case you don't either, I've<br>attached Gerard's patch from wine-patches to try how a mime attachment<br>will come through.  If it comes through, it should apply clean to the<br>current CVS.  If not, I'll think up another way.<br><br>Lawson<br></pre>
                <pre wrap=""><br><hr width="90%" size="4"><br>Index: windows/win.c<br>===================================================================<br>RCS file: /home/wine/wine/windows/win.c,v<br>retrieving revision 1.169<br>diff -u -r1.169 win.c<br>--- windows/win.c        2001/11/14 21:28:37        1.169<br>+++ windows/win.c        2001/11/17 12:40:39<br>@@ -1852,10 +1852,10 @@<br>             return 0;<br>         }<br>         /* Special case for dialog window procedure */<br>+<br>+        retvalue = *(LONG *)(((char *)wndPtr-&gt;wExtra) + offset);<br>         if ((offset == DWL_DLGPROC) &amp;&amp; (wndPtr-&gt;flags &amp; WIN_ISDIALOG))<br>             retvalue = (LONG)WINPROC_GetProc( (HWINDOWPROC)retvalue, type );<br>-        else<br>-            retvalue = *(LONG *)(((char *)wndPtr-&gt;wExtra) + offset);<br>         WIN_ReleasePtr( wndPtr );<br>         return retvalue;<br>     }<br></pre>
                </blockquote>
Thanks Gerard and &nbsp;Lawson, I was able to save the attached patch and apply
it no problem and, best of, the patch solved the problem.<br>
                <br>
Thank you both.<br>
                <pre class="moz-signature" cols="$mailwrapcol">-- 
Rick Knight
(<a class="moz-txt-link-abbreviated" href="mailto:rick@rlknight.com">rick@rlknight.com</a>)
</pre>
                <br>
                </body>
                </html>