https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1bee97358e139fb2adc2e…
commit 1bee97358e139fb2adc2e739af74c8fb2681ab56
Author: Charles Ambrye <giawa(a)hotmail.com>
AuthorDate: Wed Apr 15 09:01:09 2020 -0700
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Fri Apr 17 13:23:29 2020 +0300
[SHELL32] Pass LVA_SNAPTOGRID to listview when 'Line up Icons' is selected
---
dll/win32/shell32/CDefView.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/CDefView.cpp b/dll/win32/shell32/CDefView.cpp
index 48591cc3c71..608101cc1f5 100644
--- a/dll/win32/shell32/CDefView.cpp
+++ b/dll/win32/shell32/CDefView.cpp
@@ -1768,7 +1768,7 @@ LRESULT CDefView::OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam,
BOOL &bHand
break;
case FCIDM_SHVIEW_SNAPTOGRID:
- //FIXME
+ m_ListView.Arrange(LVA_SNAPTOGRID);
break;
case FCIDM_SHVIEW_AUTOARRANGE:
if (GetAutoArrange() == S_OK)