strncpy(first, ifnm, FIRST_LEN);
}
-void FixCase(char *p)
+void FixCase(unsigned char *p)
{
int up; /* Should next letter be uppercase */
int pos; /* Position within word */
}
else if (*p == '\'') /* If ', next letter should be upper only */
up = (pos == 2); /* if the ' is the 2nd char in the name */
+ else if (*p >= 0x80) /* If the high bit is set, don't touch it. */
+ up = 0;
else
up = 1; /* If other punctuation (eg, -), upper */
}