Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Minor fixes #90

Closed Dawoodoz closed 10 months ago

Dawoodoz commented 10 months ago

Found an annoying bug in textboxes where deteting nothing inserted the command as a character when the condition for deleting was not met and the deleting keys were mistaken for printable. Should probably fix the printable classification as well, but this fixes the textbox.

Regular expressions for checking if something is a number forgot to check that all input was consumed before accepting, allowing garbage data after numbers.

Extended ranges for SafePointer, by using more intptr_t types.

Named arguments in some lambda functions.