Fixed cprint crash on Windows

Unnecessary elsif should have been just else
Causing crashes when cprint was reached