Commit cd19ba4c authored by Martin Rudalics's avatar Martin Rudalics

Revert x_scroll_bar_handle_click "typo fix".

parent ea652500
......@@ -55,8 +55,6 @@
bar broken in change from 2014-07-27.
(xaw_scroll_callback): Provide incremental scrolling with
horizontal scroll bars.
(x_scroll_bar_handle_click): Fix typo introduced in change from
2014-07-27.
2014-08-28 Eli Zaretskii <eliz@gnu.org>
......
......@@ -6184,7 +6184,7 @@ x_scroll_bar_handle_click (struct scroll_bar *bar,
/* If the user has released the handle, set it to its final position. */
if (event->type == ButtonRelease && bar->dragging != -1)
{
int new_start = y - bar->dragging;
int new_start = - bar->dragging;
int new_end = new_start + bar->end - bar->start;
x_scroll_bar_set_handle (bar, new_start, new_end, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment