diff options
Diffstat (limited to 'src/cm.c')
| -rw-r--r-- | src/cm.c | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -199,7 +199,7 @@ calccost (struct tty_display_info *tty, | |||
| 199 | tabx, | 199 | tabx, |
| 200 | tab2x, | 200 | tab2x, |
| 201 | tabcost; | 201 | tabcost; |
| 202 | register char *p; | 202 | register const char *p; |
| 203 | 203 | ||
| 204 | /* If have just wrapped on a terminal with xn, | 204 | /* If have just wrapped on a terminal with xn, |
| 205 | don't believe the cursor position: give up here | 205 | don't believe the cursor position: give up here |
| @@ -330,9 +330,9 @@ cmgoto (struct tty_display_info *tty, int row, int col) | |||
| 330 | llcost, | 330 | llcost, |
| 331 | relcost, | 331 | relcost, |
| 332 | directcost; | 332 | directcost; |
| 333 | int use; | 333 | int use IF_LINT (= 0); |
| 334 | char *p, | 334 | char *p; |
| 335 | *dcm; | 335 | const char *dcm; |
| 336 | 336 | ||
| 337 | /* First the degenerate case */ | 337 | /* First the degenerate case */ |
| 338 | if (row == curY (tty) && col == curX (tty)) /* already there */ | 338 | if (row == curY (tty) && col == curX (tty)) /* already there */ |
| @@ -460,4 +460,3 @@ Wcm_init (struct tty_display_info *tty) | |||
| 460 | return - 2; | 460 | return - 2; |
| 461 | return 0; | 461 | return 0; |
| 462 | } | 462 | } |
| 463 | |||