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:
Erik Faye-Lund 2011-04-05 09:48:29 +02:00
parent 0a4d46d267
commit 341bf3b449

View File

@ -130,7 +130,7 @@ static LRESULT CALLBACK biasSelectionDialogProc(HWND hDlg, UINT message, WPARAM
_snprintf(temp, 256, "%d", *intialBias);
/* set initial bias */
SetDlgItemText(hDlg, IDC_SETROWS_EDIT, temp);
SetDlgItemText(hDlg, IDC_BIASSELECTION_EDIT, temp);
}
break;