/* prototypes from fixname.c */
void FixName(char *ilnm, char *ifnm, char *last, char *first, char *middle);
-void FixCase(char *p);
+void FixCase(unsigned char *p);
void LookForJrAndIII(char *nm, int *pends_jr, int *pends_sr,
int *pends_ii, int *pends_iii,
int *pends_iv, int *pends_v);
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 */
}