[ui] fix unwanted persistence unit overlay

* Also fix a typo and make sure to quote more paths when invoking Fido.
This commit is contained in:
Pete Batard 2019-06-05 17:00:21 +01:00
parent a89ed8bc60
commit f6687e729b
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
6 changed files with 12 additions and 14 deletions

View file

@ -2523,7 +2523,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
case WM_HSCROLL:
lPos = (LONG)SendMessage(GetDlgItem(hMainDialog, IDC_PERSISTENCE_SLIDER), TBM_GETPOS, 0, 0);
SetPeristencePos(lPos);
SetPersistencePos(lPos);
persistence_size = lPos * MB;
for (i = 0; i < persistence_unit_selection; i++)
persistence_size *= 1024;