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 conversion right ? That too + instead of saying "if equal to empty string" you now say "if string is empty". Lgb
- [uPATCH] Fix New from template->Cancel John Levon
- Re: [uPATCH] Fix New from template->Cancel Lars Gullik Bjønnes
- Re: [uPATCH] Fix New from template->Cancel John Levon
- Re: [uPATCH] Fix New from template->Ca... John Levon
- Re: [uPATCH] Fix New from template->Ca... Lars Gullik Bjønnes
- Re: [uPATCH] Fix New from template->Ca... Juergen Vigna