Fixed sprintf in ProjWek.c and States.c