getpoint.c edit