[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] internal error: character, index out of bounds
From: |
Tilman Hausherr |
Subject: |
Re: [Bug-ocrad] internal error: character, index out of bounds |
Date: |
Wed, 11 Aug 2010 18:37:26 +0200 |
On Wed, 11 Aug 2010 18:34:52 +0200, Antonio Diaz Diaz wrote:
>Tilman Hausherr wrote:
>> I get this error:
>>
>> ocrad: internal error: character, index out of bounds
>
>Thanks for reporting this. Yes, I forgot to verify that the textline is
>not empty. Please, replace the offending line of code with the following:
>
>if( !l.characters() ||
> l.character( std::min( bi+1, l.characters() - 1 ) ).left() >
>b.hcenter() )
Thanks, now it works!
Tilman
>Thanks and regards,
>Antonio.