Changed default URLDisplayLen to 47 if non found in the widget definition

Part of fix for bug 119400
This commit is contained in:
mitchf%netscape.com 2002-06-20 19:46:43 +00:00
Родитель 07e1a10985
Коммит 96a89b29a2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1353,7 +1353,7 @@ void CWizardMachineApp::BuildWidget(WIDGET* aWidget, CString iniSection, CString
GetPrivateProfileString(iniSection, "Attrib", "", buffer, MAX_SIZE, iniFile); GetPrivateProfileString(iniSection, "Attrib", "", buffer, MAX_SIZE, iniFile);
aWidget->attrib = buffer; aWidget->attrib = buffer;
GetPrivateProfileString(iniSection, "URLDisplayLength", "", buffer, MAX_SIZE, iniFile); GetPrivateProfileString(iniSection, "URLDisplayLength", "47", buffer, MAX_SIZE, iniFile);
aWidget->URLDisplayLength = atoi(buffer);; aWidget->URLDisplayLength = atoi(buffer);;