aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index e0f38aab2c2..121ac22c72f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4522,7 +4522,7 @@ x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar)
4522 Widget widget; 4522 Widget widget;
4523 Arg av[20]; 4523 Arg av[20];
4524 int ac = 0; 4524 int ac = 0;
4525 char *scroll_bar_name = SCROLL_BAR_NAME; 4525 char const *scroll_bar_name = SCROLL_BAR_NAME;
4526 unsigned long pixel; 4526 unsigned long pixel;
4527 4527
4528 BLOCK_INPUT; 4528 BLOCK_INPUT;
@@ -4674,8 +4674,8 @@ x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar)
4674 f->output_data.x->edit_widget, av, ac); 4674 f->output_data.x->edit_widget, av, ac);
4675 4675
4676 { 4676 {
4677 char *initial = ""; 4677 char const *initial = "";
4678 char *val = initial; 4678 char const *val = initial;
4679 XtVaGetValues (widget, XtNscrollVCursor, (XtPointer) &val, 4679 XtVaGetValues (widget, XtNscrollVCursor, (XtPointer) &val,
4680#ifdef XtNarrowScrollbars 4680#ifdef XtNarrowScrollbars
4681 XtNarrowScrollbars, (XtPointer) &xaw3d_arrow_scroll, 4681 XtNarrowScrollbars, (XtPointer) &xaw3d_arrow_scroll,