зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
efc4eb861f
Коммит
2ff930bdc2
|
@ -143,8 +143,11 @@ BOOL CInterpret::BrowseFile(WIDGET *curWidget)
|
||||||
// if ((fullFileName.Right(fileLength - dotPlace -1) == fileExt) && (tmpWidget && (CEdit*)tmpWidget->control))
|
// if ((fullFileName.Right(fileLength - dotPlace -1) == fileExt) && (tmpWidget && (CEdit*)tmpWidget->control))
|
||||||
if (tmpWidget && (CEdit*)tmpWidget->control)
|
if (tmpWidget && (CEdit*)tmpWidget->control)
|
||||||
{
|
{
|
||||||
tmpWidget->value = fullFileName;
|
tmpWidget->value = fullFileName;
|
||||||
tmpWidget->display = GetTrimFile(fullFileName);
|
if (tmpWidget->name == "LinuxPath")
|
||||||
|
tmpWidget->display = fullFileName;
|
||||||
|
else
|
||||||
|
tmpWidget->display = GetTrimFile(fullFileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
((CEdit*)tmpWidget->control)->SetWindowText(tmpWidget->display);
|
((CEdit*)tmpWidget->control)->SetWindowText(tmpWidget->display);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче