Re: apparent charstr bugs

2002-12-01 Thread John Levon
On Sun, Dec 01, 2002 at 09:09:58AM +0100, Lars Gullik Bjønnes wrote: > Is LTR evaluation guaranteed? Well, if it behaves like C does... why wouldn't it... john -- "Trolls like content too." - Bob Abooey, /.

Re: apparent charstr bugs

2002-12-01 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Sun, Dec 01, 2002 at 04:03:11AM +0100, Lars Gullik Bjønnes wrote: | | > bb = lbX + |dialog_->lbXunit->currentText().latin1() + ' '; | | aren't these OK ? | | LTR order of evaluation : Is LTR evaluation guaranteed?

Re: apparent charstr bugs

2002-11-30 Thread John Levon
On Sun, Dec 01, 2002 at 04:03:11AM +0100, Lars Gullik Bjønnes wrote: > bb = lbX + dialog_->lbXunit->currentText().latin1() >+ ' '; aren't these OK ? LTR order of evaluation : bb = (lbX + (char *)) + char bb = (string) + char bb = (string) regards john -- "Tr

Re: apparent charstr bugs

2002-11-30 Thread John Levon
On Sun, Dec 01, 2002 at 04:03:11AM +0100, Lars Gullik Bjønnes wrote: > I found a couple of others: > > bb = lbX + dialog_->lbXunit->currentText().latin > 1() + ' '; > if (lbY.empty()) > bb += "0 "; > -

Re: apparent charstr bugs

2002-11-30 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | +++ src/insets/insetcaption.C 26 Nov 2002 01:49:41 - | @@ -97,7 +97,7 @@ void InsetCaption::draw(BufferView * bv, | string const label = frm.str(); | #else | // Generate the label | - string const label = _(fl) + " " + num + ":"

Re: apparent charstr bugs

2002-11-28 Thread John Levon
On Fri, Nov 29, 2002 at 03:39:14AM +0100, Lars Gullik Bjønnes wrote: > | + string const label = _(fl) + ' ' + num + ':'; > > The types here should be > > string + char + string + char yes, sorry, didn't notice fl was string. Should be ok regards john -- "Millions of fingers! M

Re: apparent charstr bugs

2002-11-28 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | +++ src/insets/insetcaption.C 26 Nov 2002 01:49:41 - | @@ -97,7 +97,7 @@ void InsetCaption::draw(BufferView * bv, | string const label = frm.str(); | #else | // Generate the label | - string const label = _(fl) + " " + num + ":"

apparent charstr bugs

2002-11-28 Thread John Levon
+++ src/insets/insetcaption.C 26 Nov 2002 01:49:41 - @@ -97,7 +97,7 @@ void InsetCaption::draw(BufferView * bv, string const label = frm.str(); #else // Generate the label - string const label = _(fl) + " " + num + ":"; + string const label = _(fl) + ' ' + num +