]> git.eshelyaron.com Git - emacs.git/commit
Avoid division by zero in get_narrowed_* functions
authorEli Zaretskii <eliz@gnu.org>
Wed, 22 Feb 2023 12:55:05 +0000 (14:55 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 22 Feb 2023 12:55:05 +0000 (14:55 +0200)
commitba91a76659b911f90914a61a2f2d5c0073a8890a
treed39030b0c0feb5d4d6aafaad0a424e2cd7141a6c
parentfb5dbf6de73fa034338448f1029c55f85d1078b4
Avoid division by zero in get_narrowed_* functions

* src/xdisp.c (get_narrowed_width, get_narrowed_len): Return at
least 1 as the value.  (Bug#61704)
src/xdisp.c