[ros-dev] [ros-diffs] [hbelusca] 71524: [SHELL32] - Minor stylistic whitespace changes. - Use 'IDA_DESKBROWSER' instead of hardcoding its value. - The shell progman window uses the COLOR_DESKTOP as its hbrBackground: pa...
David Quintana (gigaherz)
gigaherz at gmail.com
Sun Jun 5 08:31:42 UTC 2016
This change sounds wrong to me too.
On 5 June 2016 at 08:26, Thomas Faber <thomas.faber at reactos.org> wrote:
> On 2016-06-05 01:29, hbelusca at svn.reactos.org wrote:
> > - rcDesk.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
> > - rcDesk.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
> > - rcDesk.right = rcDesk.left + GetSystemMetrics(SM_CXVIRTUALSCREEN);
> > - rcDesk.bottom = rcDesk.top + GetSystemMetrics(SM_CYVIRTUALSCREEN);
> > + rcDesk.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
> > + rcDesk.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
> > + rcDesk.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
> > + rcDesk.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
>
> Are you sure about this? "CX" normally means width, so right = left + cx
> seems more logical. And SM_XVIRUTALSCREEN is probably 0 most of the
> time so it would be hard to notice.
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.reactos.org/pipermail/ros-dev/attachments/20160605/c1cad595/attachment.html>
More information about the Ros-dev
mailing list