diff options
Diffstat (limited to 'src/cm.c')
-rw-r--r-- | src/cm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -199,7 +199,7 @@ calccost (struct tty_display_info *tty, tabx, tab2x, tabcost; - register char *p; + register const char *p; /* If have just wrapped on a terminal with xn, don't believe the cursor position: give up here @@ -331,8 +331,8 @@ cmgoto (struct tty_display_info *tty, int row, int col) relcost, directcost; int use IF_LINT (= 0); - char *p, - *dcm; + char *p; + const char *dcm; /* First the degenerate case */ if (row == curY (tty) && col == curX (tty)) /* already there */ |