Fixed serious coding error in C code generator