Don't divide by zero (empty files)
authorjob <job@openbsd.org>
Thu, 25 Apr 2024 09:58:17 +0000 (09:58 +0000)
committerjob <job@openbsd.org>
Thu, 25 Apr 2024 09:58:17 +0000 (09:58 +0000)
commit39e743a585bfb0027efb6a4bb6f3b6b02f8ed1e3
treebac1e8c7d69a5182ac56c8f8f7d5cb4ea594c7a5
parent64bdd17f81e3adb02c9168470223c7a495ff0008
Don't divide by zero (empty files)

While there, also increase buf[]

OK claudio@
usr.bin/vi/vi/vs_refresh.c