[patch] fix another End keypress lockup in the viewer

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Mon Aug 15 12:10:21 UTC 2005


Roland Illig wrote:
> Jindrich Makovicka wrote:
> 
>> Hello,
>>
>> the new viewer has a problem with viewing files with DOS line
>> separators, which manifests again in a lockup after pressing the End
>> key. Then, it is impossible to move the view further, except by pressing
>> the Home key.
> 
> 
> I have corrected the view_ccache_lookup() function so that it does not
> store an entry in the cache when the previous character is a '\r'. Can
> you please check if this fixes the bug? I still cannot reproduce it. :(

looks like it's working now. thanks.

-- 
Jindrich Makovicka



More information about the mc-devel mailing list