Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
60f8d735
Commit
60f8d735
authored
Apr 10, 2001
by
Gerd Moellmann
Browse files
(Fcompare_strings): Fix return values.
parent
afffeb57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/ChangeLog
src/ChangeLog
+2
-0
src/fns.c
src/fns.c
+2
-2
No files found.
src/ChangeLog
View file @
60f8d735
2001-04-10 Gerd Moellmann <gerd@gnu.org>
2001-04-10 Gerd Moellmann <gerd@gnu.org>
* fns.c (Fcompare_strings): Fix return values.
* window.c (window_scroll): Change the meaning of N to mean
* window.c (window_scroll): Change the meaning of N to mean
N screen-fulls or N lines.
N screen-fulls or N lines.
(window_scroll_pixel_based, window_scroll_line_based)
(window_scroll_pixel_based, window_scroll_line_based)
...
...
src/fns.c
View file @
60f8d735
...
@@ -326,9 +326,9 @@ If string STR1 is greater, the value is a positive number N;\n\
...
@@ -326,9 +326,9 @@ If string STR1 is greater, the value is a positive number N;\n\
past the character that we are comparing;
past the character that we are comparing;
hence we don't add or subtract 1 here. */
hence we don't add or subtract 1 here. */
if (c1 < c2)
if (c1 < c2)
return make_number (- i1);
return make_number (- i1
+ XINT (start1)
);
else
else
return make_number (i1);
return make_number (i1
- XINT (start1)
);
}
}
if (i1 < end1_char)
if (i1 < end1_char)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment