Re: [uPATCH] Fix New from template->Cancel

2000-10-19 Thread Juergen Vigna
On 18-Oct-2000 John Levon wrote: > > see applied Applied! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web:

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On 18 Oct 2000, Lars Gullik Bjønnes wrote: | | > fname is a string so you should use: | > | > if (fname.empty()) | > return; | | thanks. it is better to use empty() because it avoids the implicit | srting("") ctor in the conversi

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, John Levon wrote: > thanks. it is better to use empty() because it avoids the implicit > srting("") ctor in the conversion right ? > s/srting/string/ > see applied s/applied/attached/ I need some sleep/caffiene ... john -- "Mathemeticians stand on each other's shoulde

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread John Levon
On 18 Oct 2000, Lars Gullik Bjønnes wrote: > fname is a string so you should use: > > if (fname.empty()) > return; thanks. it is better to use empty() because it avoids the implicit srting("") ctor in the conversion right ? see applied john -- "Mathemeticians stand on

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | fname = fileDlg.Select(_("Choose template"), | lyxrc.template_path, | "*.lyx"); | -templname = fname; | AllowInput(owner->view()); | +