]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert x_scroll_bar_handle_click "typo fix".
authorMartin Rudalics <rudalics@gmx.at>
Thu, 28 Aug 2014 18:33:18 +0000 (20:33 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 28 Aug 2014 18:33:18 +0000 (20:33 +0200)
src/ChangeLog
src/xterm.c

index 05c3c5cf65b85ddac985e8712029677b82d42cac..9b3c3d0bd664ed2272090f9fdb60dc10e8c60a14 100644 (file)
@@ -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>
 
index e4a725a4ab1f51ddf9fab2c7d4ce79eb37ac6089..beb7d78841d76a7e106f4140f746bddb599e721c 100644 (file)
@@ -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 = - 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);