From dcd148d3e589e7c745bd326b4a9304105ee3edf5 Mon Sep 17 00:00:00 2001 From: luca Date: Wed, 10 Dec 2008 16:59:04 +0000 Subject: [PATCH] Patch level :10.0 cd Files correlati : Ricompilazione Demo : [ ] Commento :risistemato l'aggiornamento web git-svn-id: svn://10.65.10.50/trunk@17861 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- setup/Setup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/Setup.cpp b/setup/Setup.cpp index 1d59eada0..daffdb5c8 100755 --- a/setup/Setup.cpp +++ b/setup/Setup.cpp @@ -1377,6 +1377,10 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e)) //path del programma setup.exe in esecuzione; serve in seguito in quanto alcuni metodi (tipo la GetAllFiles).. //..fanno perdere questo path m_strSetupPath = strPath.GetPath(); + //attenzione!!! il path DEVE terminare con "\" sennò in base al tipo di chiamata (-uw,-uc,-ud) i rispettivi.. + //..metodi funzionano a casaccio!!! + if (!m_strSetupPath.EndsWith(wxT("\\"))) + m_strSetupPath << '\\'; wxString strCommand = argv[1]; if (strCommand.IsEmpty())