diff options
| author | Paul Eggert | 2017-02-18 18:16:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-02-18 18:17:03 -0800 |
| commit | b2a83eed23d540b4b0ab9e0bf5605821011bfd7d (patch) | |
| tree | 20545c597c19d213252bcdba7076a807ec633867 /src/term.c | |
| parent | 7f89c208bf4bb256c67cc59351f4171c7a6b63aa (diff) | |
| download | emacs-b2a83eed23d540b4b0ab9e0bf5605821011bfd7d.tar.gz emacs-b2a83eed23d540b4b0ab9e0bf5605821011bfd7d.zip | |
Use 'char *FOO' instead of 'char* FOO'
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c index 35fa8c931c1..8770aff8a92 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2536,7 +2536,8 @@ term_mouse_click (struct input_event *result, Gpm_Event *event, | |||
| 2536 | } | 2536 | } |
| 2537 | 2537 | ||
| 2538 | int | 2538 | int |
| 2539 | handle_one_term_event (struct tty_display_info *tty, Gpm_Event *event, struct input_event* hold_quit) | 2539 | handle_one_term_event (struct tty_display_info *tty, Gpm_Event *event, |
| 2540 | struct input_event *hold_quit) | ||
| 2540 | { | 2541 | { |
| 2541 | struct frame *f = XFRAME (tty->top_frame); | 2542 | struct frame *f = XFRAME (tty->top_frame); |
| 2542 | struct input_event ie; | 2543 | struct input_event ie; |
| @@ -4134,9 +4135,11 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\ | |||
| 4134 | #ifdef TERMINFO | 4135 | #ifdef TERMINFO |
| 4135 | /* Non-standard support for 24-bit colors. */ | 4136 | /* Non-standard support for 24-bit colors. */ |
| 4136 | { | 4137 | { |
| 4137 | const char* fg = tigetstr ("setf24"); | 4138 | const char *fg = tigetstr ("setf24"); |
| 4138 | const char* bg = tigetstr ("setb24"); | 4139 | const char *bg = tigetstr ("setb24"); |
| 4139 | if (fg && bg && fg != (char *)-1 && bg != (char *)-1) | 4140 | if (fg && bg |
| 4141 | && fg != (char *) (intptr_t) -1 | ||
| 4142 | && bg != (char *) (intptr_t) -1) | ||
| 4140 | { | 4143 | { |
| 4141 | tty->TS_set_foreground = fg; | 4144 | tty->TS_set_foreground = fg; |
| 4142 | tty->TS_set_background = bg; | 4145 | tty->TS_set_background = bg; |