Bug#137270: dvifb: quick and dirty patch
Dieter Schuster <didischuster@gmx.de> writes:
> If you make the following changes, some keys work (for me). I can use
> the keys u,j,h,k,i,m. But if I try to use the cursor keys dvifb crash.
>
> --- tmview.c Wed Oct 30 18:17:29 2002
> +++ ../../tmview/src/tmview.c Sun Mar 4 14:57:22 2001
> @@ -70,7 +70,7 @@
> numberargmode=NAFRAC;
> if(ch=='*' || ch=='#')
> numberargmode=NAONLYE;
> - if(ch >=0 && ch <= '9')
> + if(ch <= '9')
Without knowing anything about that code at all, it looks more like
the intended line was
if(ch >= '0' && ch <= '9')
Lukas
Reply to: