Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/games/rain
Module Name: src
Committed By: charlotte
Date: Wed Feb 28 23:14:37 UTC 2024
Modified Files:
src/games/rain: rain.c
Log Message:
rain(6): Avoid division by zero
If there were exactly 4 LINES or COLS then we'd attempt to draw a raindrop
at some value mod 0, which is invalid.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/games/rain/rain.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index