Fix for bug 83679: Ability to create customized Linux builds of N6.1+

Removing trimming of text for linux tar file edit field (r=tao)
This commit is contained in:
shrutiv%netscape.com 2001-09-11 01:01:14 +00:00
Родитель efc4eb861f
Коммит 2ff930bdc2
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -143,8 +143,11 @@ BOOL CInterpret::BrowseFile(WIDGET *curWidget)
// if ((fullFileName.Right(fileLength - dotPlace -1) == fileExt) && (tmpWidget && (CEdit*)tmpWidget->control))
if (tmpWidget && (CEdit*)tmpWidget->control)
{
tmpWidget->value = fullFileName;
tmpWidget->display = GetTrimFile(fullFileName);
tmpWidget->value = fullFileName;
if (tmpWidget->name == "LinuxPath")
tmpWidget->display = fullFileName;
else
tmpWidget->display = GetTrimFile(fullFileName);
}
}
((CEdit*)tmpWidget->control)->SetWindowText(tmpWidget->display);