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 9f96f210b9f..90526612b7a 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -194,7 +194,7 @@ to t. */) | |||
| 194 | SET_PT (newpos); | 194 | SET_PT (newpos); |
| 195 | 195 | ||
| 196 | if (PT > newpos | 196 | if (PT > newpos |
| 197 | && FETCH_CHAR (PT - 1) == '\n') | 197 | && FETCH_BYTE (PT_BYTE - 1) == '\n') |
| 198 | { | 198 | { |
| 199 | /* If we skipped over a newline that follows | 199 | /* If we skipped over a newline that follows |
| 200 | an invisible intangible run, | 200 | an invisible intangible run, |
| @@ -205,7 +205,7 @@ to t. */) | |||
| 205 | break; | 205 | break; |
| 206 | } | 206 | } |
| 207 | else if (PT > newpos && PT < ZV | 207 | else if (PT > newpos && PT < ZV |
| 208 | && FETCH_CHAR (PT) != '\n') | 208 | && FETCH_BYTE (PT_BYTE) != '\n') |
| 209 | /* If we skipped something intangible | 209 | /* If we skipped something intangible |
| 210 | and now we're not really at eol, | 210 | and now we're not really at eol, |
| 211 | keep going. */ | 211 | keep going. */ |