NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59875: typo in src/sys/dev/pckbc/synaptics.c



The following reply was made to PR kern/59875; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59875: typo in src/sys/dev/pckbc/synaptics.c
Date: Thu, 1 Jan 2026 13:00:24 -0000 (UTC)

 tsutsui%ceres.dti.ne.jp@localhost (Izumi Tsutsui) writes:
 
 >		if (abs(dy) > synaptics_max_speed_y)
 >                    ^^^^^^^
 >			sdy = ((sdy >= 0)? 1 : -1) * synaptics_max_speed_y;
 
 >Just use abs(sdy) ?
 
 
 Yes.
 


Home | Main Index | Thread Index | Old Index