void MenuSendto()
{
- static int ow = -1, oh;
+ static int ow = -1;
+ static int oh;
// do this only if the command is empty
if (!fl_get_input(fd_form_sendto->input_cmd) &&
}
}
- string fname = ChangeExtension(buffer->getLatexName(), ftypeext, true);
+ string fname = OnlyFilename(ChangeExtension(buffer->getLatexName(),
+ ftypeext));
if (!contains(command, "$$FName"))
command = "( " + command + " ) <$$FName";
command = subst(command, "$$FName", fname);