outfilebase = g_strconcat (fullfilebase, for_cpp ? ".cc" : ".c", NULL);
outfile = g_strconcat(outfilebase, no_touch ? "#gob#" : "", NULL);
- outfilehbase = g_strconcat (fullfilebase, ".h");
+ outfilehbase = g_strconcat (fullfilebase, ".h", NULL);
outfileh = g_strconcat(outfilehbase, no_touch_headers ? "#gob#" : "", NULL);
if ((privates > 0 || protecteds > 0 ||