editor: initialize the correct field
biasSelectionDialogProc deals with IDC_BIASSELECTION_-stuff, not IDC_SETROWS_-stuff. Initialize the edit-controller to 0 as expected.
This commit is contained in:
parent
0a4d46d267
commit
341bf3b449
@ -130,7 +130,7 @@ static LRESULT CALLBACK biasSelectionDialogProc(HWND hDlg, UINT message, WPARAM
|
|||||||
_snprintf(temp, 256, "%d", *intialBias);
|
_snprintf(temp, 256, "%d", *intialBias);
|
||||||
|
|
||||||
/* set initial bias */
|
/* set initial bias */
|
||||||
SetDlgItemText(hDlg, IDC_SETROWS_EDIT, temp);
|
SetDlgItemText(hDlg, IDC_BIASSELECTION_EDIT, temp);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user