RobLoach / raylib-nuklear

Nuklear immediate mode GUI for raylib
https://robloach.github.io/raylib-nuklear/
zlib License
151 stars 22 forks source link

Clipboard fixes #77

Closed CG8516 closed 4 months ago

CG8516 commented 4 months ago

Fixes for the issues mentioned in #76
I figured allocating memory would be better than a VLA or setting a clipboard limit.
If we're using raylib's allocator, the array should have been allocated with calloc rather than malloc, but I still set the terminating zero byte just in case another allocator is used.

RobLoach commented 4 months ago

Thanks a lot :+1: