Corretto scarico dei files
git-svn-id: svn://10.65.10.50/trunk@89 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f953e72be9
commit
30ff8f5f11
@ -252,19 +252,24 @@ void BA1100_application::edit_riga (long riga_sel, TToken_string& riga)
|
|||||||
if (tasto == K_F7)
|
if (tasto == K_F7)
|
||||||
{
|
{
|
||||||
TMask m("ba1100b");
|
TMask m("ba1100b");
|
||||||
TFilename nout(dep.SysName);
|
|
||||||
|
|
||||||
|
TFilename nout(dep.SysName);
|
||||||
nout.strip("$%");
|
nout.strip("$%");
|
||||||
nout.ext("txt");
|
nout.ext("txt");
|
||||||
m.set(FLD_OUTFILE, nout);
|
m.set(FLD_OUTFILE, nout);
|
||||||
|
|
||||||
if (m.run() == K_ENTER)
|
if (m.run() == K_ENTER)
|
||||||
{
|
{
|
||||||
const char fs = *esc(m.get(FLD_FS));
|
nout = m.get(FLD_OUTFILE);
|
||||||
const char fd = *esc(m.get(FLD_FD));
|
if (nout.not_empty())
|
||||||
const char rs = *esc(m.get(FLD_RS));
|
{
|
||||||
const bool withdel = m.get(FLD_WITHDEL).not_empty();
|
const char fs = *esc(m.get(FLD_FS));
|
||||||
|
const char fd = *esc(m.get(FLD_FD));
|
||||||
f.dump(m.get(FLD_OUTFILE), atoi(m.get(FLD_KEYNO)), fs, fd, rs, withdel);
|
const char rs = *esc(m.get(FLD_RS));
|
||||||
|
const bool withdel = m.get_bool(FLD_WITHDEL);
|
||||||
|
const int keyno = m.get_int(FLD_KEYNO);
|
||||||
|
f.dump(nout, keyno, fs, fd, rs, withdel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user