diff options
Diffstat (limited to 'src/cmds.c')
| -rw-r--r-- | src/cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c index 5d7a45e65f6..9914b7a01f7 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -203,7 +203,7 @@ to t. */) | |||
| 203 | SET_PT (newpos); | 203 | SET_PT (newpos); |
| 204 | 204 | ||
| 205 | if (PT > newpos | 205 | if (PT > newpos |
| 206 | && FETCH_CHAR (PT - 1) == '\n') | 206 | && FETCH_BYTE (PT_BYTE - 1) == '\n') |
| 207 | { | 207 | { |
| 208 | /* If we skipped over a newline that follows | 208 | /* If we skipped over a newline that follows |
| 209 | an invisible intangible run, | 209 | an invisible intangible run, |
| @@ -214,7 +214,7 @@ to t. */) | |||
| 214 | break; | 214 | break; |
| 215 | } | 215 | } |
| 216 | else if (PT > newpos && PT < ZV | 216 | else if (PT > newpos && PT < ZV |
| 217 | && FETCH_CHAR (PT) != '\n') | 217 | && FETCH_BYTE (PT_BYTE) != '\n') |
| 218 | /* If we skipped something intangible | 218 | /* If we skipped something intangible |
| 219 | and now we're not really at eol, | 219 | and now we're not really at eol, |
| 220 | keep going. */ | 220 | keep going. */ |