bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 1/5] console-client: use constant value instead of magic numb


From: Samuel Thibault
Subject: Re: [PATCH 1/5] console-client: use constant value instead of magic number
Date: Sat, 9 Mar 2024 01:49:23 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks :)

Etienne Brateau, le sam. 09 mars 2024 01:38:40 +0100, a ecrit:
> ---
>  console-client/pc-kbd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c
> index afd3411e..aa5f1103 100644
> --- a/console-client/pc-kbd.c
> +++ b/console-client/pc-kbd.c
> @@ -713,7 +713,7 @@ read_keycode (void)
>    int release = 0;
>  
>    /* The keypress generated two keycodes.  */
> -  if (sc == 0xE0)
> +  if (sc == SC_EXTENDED1)
>      {
>        sc = input_next ();
>  
> -- 
> 2.44.0
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]