From 2ff930bdc27b729332da20410b24367cb15bbbbc 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) --- cck/driver/interpret.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cck/driver/interpret.cpp b/cck/driver/interpret.cpp index f351b6a50c2..5efac86a952 100644 --- a/cck/driver/interpret.cpp +++ b/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);