This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 40/66] Remove tui_scroll_direction enum


On 6/23/19 11:43 PM, Tom Tromey wrote:
> -  do_scroll_vertical (BACKWARD_SCROLL, num_to_scroll);
> +  do_scroll_vertical (- num_to_scroll);

No space after - (unary minus):

 https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#Whitespaces

>  
> -  do_scroll_horizontal (RIGHT_SCROLL, num_to_scroll);
> +  do_scroll_horizontal (- num_to_scroll);
>  }

Ditto.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]