Skip to content
Snippets Groups Projects
Commit 4ddf62f3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't allow terminal columns and rows to be set to -1

Range check return value of console.getnum(), as is done in useredit.cpp.

The user hitting ^C at eithe of the terminal columns or rows prompts would
set that value -1.
parent 2e35069b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment