From ff1d1f56b6956306b84208e1e08893fd6b3951f8 Mon Sep 17 00:00:00 2001 From: angelo Date: Thu, 3 Aug 1995 15:17:45 +0000 Subject: [PATCH] Corretto cambio del nome file in aggiornamento tracciati di una ditta. git-svn-id: svn://10.65.10.50/trunk@1675 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba1100.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ba/ba1100.cpp b/ba/ba1100.cpp index d640b94d7..c94e27f80 100755 --- a/ba/ba1100.cpp +++ b/ba/ba1100.cpp @@ -530,7 +530,8 @@ void TManutenzione_app::update_dir() { p.addstatus(1); prefix().set(""); - d.get(i, _nolock, _nordir, _sysdirop); + d.get(i, _nolock, _nordir, _sysdirop); + bool is_firm = d.is_firm(); TString desc(d.des()); TString s(d.name()); bool towrite = FALSE; @@ -562,6 +563,12 @@ void TManutenzione_app::update_dir() if (fexist(fs)) { + if (is_firm) + { + TString name(fd); + fd.cut(0); + fd << fs.path() << name; + } TFilename path(fd.path()); path.rtrim(1); if (path.not_empty() && !fexist(path))