Update inpaint.c