John Levon <[EMAIL PROTECTED]> writes:
| On Mon, Jul 18, 2005 at 09:35:51PM +0100, Angus Leeming wrote:
>
>> -int const col = c - row.pos();
>> +pos_type const col = c - row.pos();
>>
>> I just committed the fix. So much for retirement :)
>
| Tricked you :)
>
| The very retired john
you
On Mon, Jul 18, 2005 at 09:35:51PM +0100, Angus Leeming wrote:
> -int const col = c - row.pos();
> +pos_type const col = c - row.pos();
>
> I just committed the fix. So much for retirement :)
Tricked you :)
The very retired john
John Levon wrote:
> I needed the below to compile.
> -return min(col, end - 1 - row.pos());
> +return min(long(col), end - 1 - row.pos());
> }
Make that "pos_type(col)" and everyone will be happy...
In fact, it's the wrong fix entirely. The right one is
-int const col = c - r
I needed the below to compile.
john
Index: src/text2.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v
retrieving revision 1.623
diff -u -a -p -r1.623 text2.C
--- src/text2.C 18 Jul 2005 11:00:12 - 1.623
+++ s