[hackers] Re: [surf][patch] Fix negative values in scrollh()/scrollv()

From: Leonardo Taccari <iamleot_AT_gmail.com>
Date: Sun, 23 Jun 2019 00:00:09 +0200

Leonardo Taccari writes:
> [...]
> The attached patch fixes negative values passed to scrollh() and
> scrollv() by adding an extra sign character (`-' or `+') to the
> msg.
> [...]

Quentin kindly commented that off-list and here an updated and simpler
version to just cast the passed `char' to `signed char' (possible
mistakes are mine though!).

Received on Sun Jun 23 2019 - 00:00:09 CEST

This archive was generated by hypermail 2.3.0 : Sun Jun 23 2019 - 00:12:23 CEST