Use getcurx in curses code
authorTom Tromey <tom@tromey.com>
Tue, 28 Jun 2016 20:25:49 +0000 (14:25 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 14 Jul 2016 16:35:38 +0000 (10:35 -0600)
commitcecc8b99060bf82632345bd1c07d50c7ae8d81ef
tree87ad730603dfc12cbed8be0a1b71b7d2913a97b4
parent821fc4aeef26bc7e5d5943c2f5d009a23e16883c
Use getcurx in curses code

As suggested by Pedro, this changes a few spots to use getcurx, rather
than getyx.  This avoids some unused variable warnings.

2016-07-14  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_show_source_line): Use getcurx.
* tui/tui-io.c (tui_puts): Use getcurx.
(tui_redisplay_readline): Likewise.
gdb/ChangeLog
gdb/tui/tui-io.c
gdb/tui/tui-winsource.c
This page took 0.026631 seconds and 4 git commands to generate.