chiark / gitweb /
File draw method: add a missing bounds check.
authorSimon Tatham <anakin@pobox.com>
Sun, 31 Dec 2023 13:37:49 +0000 (13:37 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 31 Dec 2023 13:37:49 +0000 (13:37 +0000)
commit347418e75aa49014e2d2f4c635eb72646eafd5f9
treecda691d311917df231de855c9f5933bdaa43e682
parent7c3607ba17325852b3290e468fd0cf2285b348fc
File draw method: add a missing bounds check.

Don't try to render an item that doesn't even exist at all.
src/file.rs