Patch level : 10.0 130

Files correlati     : ve1.exe ba3.exe ba8.exe
Ricompilazione Demo : [ ]
Commento            :

corretta stampa su pdf, alla fine non azzerava il nome del file


git-svn-id: svn://10.65.10.50/trunk@17347 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2008-10-03 10:53:57 +00:00
parent 4f5788f438
commit 4367bcacf6

View File

@ -1935,7 +1935,8 @@ bool TBook::esporta()
split_file_if_needed();
const KEY key = spotlite_ask_name(_pdf_file);
TFilename fname;
const KEY key = spotlite_ask_name(fname);
bool ok = key >= 'A' && key <= 'Z';
switch (key)
{
@ -1943,17 +1944,17 @@ bool TBook::esporta()
ok = archive();
break;
case 'E':
ok = export_text(_pdf_file);
ok = export_text(fname);
if (ok)
xvt_sys_goto_url(_pdf_file, "open");
xvt_sys_goto_url(fname, "open");
break;
case 'M':
ok = send_mail(_pdf_file);
ok = send_mail(fname);
break;
case 'P':
ok = export_pdf(_pdf_file);
ok = export_pdf(fname);
if (ok)
xvt_sys_goto_url(_pdf_file, "open");
xvt_sys_goto_url(fname, "open");
break;
default:
break;