Ticket #7831: Ticket7831.patch
File Ticket7831.patch, 913 bytes (added by , 13 years ago) |
---|
-
.cpp
old new 1 1 #include <filezilla.h> 2 2 #include "directorylistingparser.h" 3 3 #include "ControlSocket.h" 4 #include "../interface/Options.h" 4 5 5 6 #ifdef _DEBUG 6 7 #define new DEBUG_NEW … … 17 18 18 19 #endif 19 20 21 extern wxString StripVMSRevision(const wxString& name); 22 20 23 class CToken 21 24 { 22 25 protected: … … 1650 1653 else 1651 1654 entry.name = token.GetString().Left(pos - 4) + token.GetString().Mid(pos); 1652 1655 } 1653 else 1654 entry.name = token.GetString(); 1655 1656 else //files 1657 { 1658 if (COptions::Get()->GetOptionVal(OPTION_STRIP_VMS_REVISION)) 1659 entry.name = StripVMSRevision(token.GetString()); 1660 else 1661 entry.name = token.GetString(); 1662 } 1656 1663 // Some VMS servers escape special characters like additional dots with ^ 1657 1664 entry.name = Unescape(entry.name, '^'); 1658 1665