Commit 60f8d735 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fcompare_strings): Fix return values.

parent afffeb57
2001-04-10 Gerd Moellmann <>
* fns.c (Fcompare_strings): Fix return values.
* window.c (window_scroll): Change the meaning of N to mean
N screen-fulls or N lines.
(window_scroll_pixel_based, window_scroll_line_based)
......@@ -326,9 +326,9 @@ If string STR1 is greater, the value is a positive number N;\n\
past the character that we are comparing;
hence we don't add or subtract 1 here. */
if (c1 < c2)
return make_number (- i1);
return make_number (- i1 + XINT (start1));
return make_number (i1);
return make_number (i1 - XINT (start1));
if (i1 < end1_char)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment