Fix bad search and replace in C code.