From e385d9fdfc2401ac0804089e9bc46e52c3f58e81 Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Tue, 11 Sep 2001 01:01:14 +0000 Subject: [PATCH] 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) git-svn-id: svn://10.0.0.236/trunk@102719 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/driver/interpret.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/cck/driver/interpret.cpp b/mozilla/cck/driver/interpret.cpp index f351b6a50c2..5efac86a952 100644 --- a/mozilla/cck/driver/interpret.cpp +++ b/mozilla/cck/driver/interpret.cpp @@ -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);