CVS commit: src/games/rain

2024-02-28 Thread Charlotte Koch
Module Name:src Committed By: charlotte Date: Wed Feb 28 23:24:52 UTC 2024 Modified Files: src/games/rain: rain.c Log Message: rain(6): Update the "rainable area" upon SIGWINCH This makes sure rain falls to fill the entire window even if the window grows in size. To gen

CVS commit: src/games/rain

2024-02-28 Thread Charlotte Koch
Module Name:src Committed By: charlotte Date: Wed Feb 28 23:24:52 UTC 2024 Modified Files: src/games/rain: rain.c Log Message: rain(6): Update the "rainable area" upon SIGWINCH This makes sure rain falls to fill the entire window even if the window grows in size. To gen

CVS commit: src/games/rain

2024-02-28 Thread Charlotte Koch
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.

CVS commit: src/games/rain

2024-02-28 Thread Charlotte Koch
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.