зеркало из https://github.com/mozilla/pjs.git
Changed default URLDisplayLen to 47 if non found in the widget definition
Part of fix for bug 119400
This commit is contained in:
Родитель
07e1a10985
Коммит
96a89b29a2
|
@ -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);;
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче