mtPaint
mtPaint copied to clipboard
fix some unsafe strncpy calls
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.