Use enum type for functions arguments. Removed -1 check in switch statement, this isn't needed.
2.1 KiB
2.1 KiB
Use enum type for functions arguments. Removed -1 check in switch statement, this isn't needed.