https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1601afd0a6c1253d70f0e…
commit 1601afd0a6c1253d70f0ec7665d432b900b927f4
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Mon Aug 17 03:16:07 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Mon Aug 17 03:16:07 2020 +0300
[SYSDM] Whitespace fixes only
---
dll/cpl/sysdm/virtmem.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dll/cpl/sysdm/virtmem.c b/dll/cpl/sysdm/virtmem.c
index 5ed0508d6cf..4651fab4b88 100644
--- a/dll/cpl/sysdm/virtmem.c
+++ b/dll/cpl/sysdm/virtmem.c
@@ -508,11 +508,11 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
ULARGE_INTEGER FreeDiskSpace;
UINT i, FreeMemMb, RecoMemMb, PageFileSizeMb;
INT Index;
- TCHAR szText[MAX_PATH];
+ TCHAR szText[MAX_PATH];
WIN32_FIND_DATAW fdata = {0};
HANDLE hFind;
ULARGE_INTEGER pfSize;
-
+
Index = (INT)SendDlgItemMessage(hwndDlg,
IDC_PAGEFILELIST,
LB_GETCURSEL,
@@ -593,27 +593,27 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
/* Set current pagefile size */
PageFileSizeMb = 0;
-
+
for (i = 0; i < pVirtMem->Count; i++)
{
_stprintf(szText,
_T("%c:\\pagefile.sys"),
pVirtMem->Pagefile[i].szDrive[0]);
-
+
hFind = FindFirstFileW(szText, &fdata);
- if (hFind == INVALID_HANDLE_VALUE)
+ if (hFind == INVALID_HANDLE_VALUE)
{
- DPRINT1("Unable to read PageFile size : %ls due to error %d\n",
szText,GetLastError());
+ DPRINT1("Unable to read PageFile size : %ls due to error %d\n",
szText,GetLastError());
}
else
{
pfSize.LowPart = fdata.nFileSizeLow;
- pfSize.HighPart = fdata.nFileSizeHigh;
+ pfSize.HighPart = fdata.nFileSizeHigh;
PageFileSizeMb += pfSize.QuadPart / (1024*1024);
FindClose(hFind);
}
}
-
+
_stprintf(szBuffer, _T("%u MB"), PageFileSizeMb);
SetDlgItemText(hwndDlg, IDC_CURRENT, szBuffer);
}