]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in 1792cbaddc.
authorGregory Heytings <gregory@heytings.org>
Fri, 8 Jul 2022 22:12:42 +0000 (00:12 +0200)
committerGregory Heytings <gregory@heytings.org>
Fri, 8 Jul 2022 22:12:42 +0000 (00:12 +0200)
src/xdisp.c

index e130b23d9a16ba65c06c10004900f7d5fe1a5b5d..84203f0ed0c95137b4ee69a84b63dad55932b710 100644 (file)
@@ -3499,7 +3499,7 @@ init_iterator (struct it *it, struct window *w,
 ptrdiff_t
 get_narrowed_begv (struct window *w)
 {
-  int len, begv;
+  int len; ptrdiff_t begv;
   len = (1 + ((window_body_width (w, WINDOW_BODY_IN_CANONICAL_CHARS) *
               window_body_height (w, WINDOW_BODY_IN_CANONICAL_CHARS)) /
              10000)) * 10000;