mtPaint icon indicating copy to clipboard operation
mtPaint copied to clipboard

fix some unsafe strncpy calls

Open 12Me21 opened this issue 3 years ago • 0 comments

This fixes several compiler warnings about strncpy by replacing it with strncpy0. Also, the strncpy0 macro (except for the return value which is never used) was equivalent to strlcpy (which is included in gtk as g_strlcpy), so I replaced it with that.

12Me21 avatar May 03 '21 22:05 12Me21