projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Vcharacter_name_table): New variable.
[chise/xemacs-chise.git-]
/
src
/
line-number.c
diff --git
a/src/line-number.c
b/src/line-number.c
index
cce759f
..
b0ce90f
100644
(file)
--- a/
src/line-number.c
+++ b/
src/line-number.c
@@
-293,7
+293,7
@@
buffer_line_number (struct buffer *b, Bufpos pos, int cachep)
get_nearest_line_number (b, &beg, pos, &cached_lines);
}
get_nearest_line_number (b, &beg, pos, &cached_lines);
}
- scan_buffer (b, '\n', beg, pos, pos > beg ? EMACS_INT_MAX : EMACS_INT_MIN,
+ scan_buffer (b, '\n', beg, pos, pos > beg ? EMACS_INT_MAX : -EMACS_INT_MAX,
&shortage, 0);
line = EMACS_INT_MAX - shortage;
&shortage, 0);
line = EMACS_INT_MAX - shortage;