diff options
Diffstat (limited to 'docs/release/src/osd/winui/picker.cpp')
-rw-r--r-- | docs/release/src/osd/winui/picker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/release/src/osd/winui/picker.cpp b/docs/release/src/osd/winui/picker.cpp index 300c63be467..677b30856f8 100644 --- a/docs/release/src/osd/winui/picker.cpp +++ b/docs/release/src/osd/winui/picker.cpp @@ -1234,7 +1234,7 @@ void Picker_HandleDrawItem(HWND hWnd, LPDRAWITEMSTRUCT lpDrawItemStruct) bDrawAsChild = (pPickerInfo->pCallbacks->pfnGetViewMode() == VIEW_GROUPED && (nParent >= 0)); /* only indent if parent is also in this view */ -#if 1 // minimal listview flickering. +#if 1 // minimal listview flickering. if ((nParent >= 0) && bDrawAsChild) { if (GetParentFound(lvi.lParam)) @@ -1293,7 +1293,7 @@ void Picker_HandleDrawItem(HWND hWnd, LPDRAWITEMSTRUCT lpDrawItemStruct) GetClientRect(hWnd, &rcClient); rcTmpBmp.right = rcClient.right; /* We also need to check whether it is the last item - The update region has to be extended to the bottom if it is */ + The update region has to be extended to the bottom if it is */ if (nItem == ListView_GetItemCount(hWnd) - 1) rcTmpBmp.bottom = rcClient.bottom; @@ -1336,8 +1336,8 @@ void Picker_HandleDrawItem(HWND hWnd, LPDRAWITEMSTRUCT lpDrawItemStruct) res = ListView_GetItemRect_Modified(hWnd, nItem, &rect, LVIR_ICON); /* indent width of icon + the space between the icon and text - * so left of clone icon starts at text of parent - */ + * so left of clone icon starts at text of parent + */ indent_space = rect.right - rect.left + offset; } |