SelectionMark

Aric Stewart aric at codeweavers.com
Thu Feb 12 08:19:38 CST 2004


Ahh, doh.

I was playing with the tab space in my editor to try to get some of the 
other indentation in that file to make any sense at all without having 
to reformat large blocks of code, and then it looks like I forgot to 
change it back to my default 4 spaces value when doing modifications to 
my patch.

-aric

Dimitrie O. Paun wrote:
> On February 11, 2004 02:07 pm, Aric Stewart wrote:
> 
>>+    if (bResult && lvItem.stateMask & LVIS_SELECTED &&
>>+        lvItem.state&LVIS_SELECTED  && ((infoPtr->nSelectionMark
>>+         == -1) || (lvItem.iItem <= infoPtr->nSelectionMark)))
> 
> 
> That's some funky indentation here :)
> 
> 
>>+    {
>>+        infoPtr->nSelectionMark = -1;
>>+        int i = 0;
>>+        for (i = 0; i < infoPtr->nItemCount; i++)
>>+        {
>>+            if (infoPtr->uCallbackMask & LVIS_SELECTED)
>>+            {
>>+                   if (LISTVIEW_GetItemState(infoPtr, i, LVIS_SELECTED))
> 
>                    ^^^^^^^
> 
> here as well, any particular reason?
> 





More information about the wine-devel mailing list