RobLoach / raylib-nuklear

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

Clipboard fixes #77

Closed CG8516 closed 2 months ago

CG8516 commented 2 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 2 months ago

Thanks a lot :+1: