void
InitConsoleDefaults(PConsoleInfo pConInfo)
{
- /* initialize struct */
+ /* Initialize struct */
pConInfo->InsertMode = TRUE;
pConInfo->HistoryBufferSize = 50;
pConInfo->NumberOfHistoryBuffers = 5;
if (res == IDCANCEL)
{
- /* dont destroy when user presses cancel */
+ /* Don't destroy when user presses cancel */
SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
}
else if ( res == IDC_RADIO_APPLY_ALL )
/*
* console.dll shares information with win32csr with wParam, lParam
*
- * wParam is a pointer to an ConsoleInfo struct
- * lParam is a boolean parameter which specifies wheter defaults should be shown
+ * wParam is a pointer to a ConsoleInfo struct
+ * lParam is a boolean parameter which specifies whether defaults should be shown
*/
pConInfo = AllocConsoleInfo();
if (lParam)
{
- /* use defaults */
+ /* Use defaults */
InitConsoleDefaults(pConInfo);
}
else
{
if (IsBadReadPtr((const void *)pSharedInfo, sizeof(ConsoleInfo)))
{
- /* use defaults */
+ /* Use defaults */
InitConsoleDefaults(pConInfo);
}
else
}
return TRUE;
}
-