<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">Yeah, I read it. Can
you explain to me the logic behind this decision (In general, not about
this specific code)?</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">I think formatting a
code is an important thing to do.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">It makes the code
easier to understand for programmers who have never seen the code
before,</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">and makes it also more
maintainable.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">In this code, for
example, the white spaces and tabs are mixed, the curly braces are
sometimes right next to the line before</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">and sometimes in the
next line, etc.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">-Adam<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">On 12/15/2007 08:18 AM,
Vitaliy Margolen wrote:</p>
<blockquote cite="mid:476371BB.2030803@kievinfo.com" type="cite">
  <pre wrap="">There is nothing to maintain in that warping code. It needs to be removed 
you right. But you can do that only after x11drv can properly warp mouse 
itself (and keep it from leaving Wine window).

And for format only changes - read that link. It explains what type of 
changes you should not send.

Vitaliy.

Adam Rimon wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Using gotos is ok, when it's really needed. There is no need to use 
gotos here - it doesn't save source lines.
Why are you against changing the format and fixing the mixed using of 
tabs and white spaces?
Anyway, extracting the warping code into a function makes the warping 
code more maintainable.

On 12/14/2007 11:07 PM, Vitaliy Margolen wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">First of all your patch is wrapped. Second, do not send white space 
changes only. Same for formatting - do not change formatting only. If 
you can't read it, reformat for yourself, or get used to reading some 
one else's code.

What's wrong with gotos? If you don't like it doesn't mean everyone 
else can't use them. Don't change that part. Copying 10 lines of code 
into 10 places doesn't justify removing 10 lines of code.

You should probably check the patch requirements: 
<a class="moz-txt-link-freetext" href="http://winehq.org/site/sending_patches">http://winehq.org/site/sending_patches</a>

Vitaliy.

Adam Rimon wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">---

 dlls/dinput/mouse.c |  415 
+++++++++++++++++++++++++++++----------------------
 1 files changed, 235 insertions(+), 180 deletions(-)

        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
</body>
</html>