fix char_conversion
This commit is contained in:
parent
01b801e753
commit
21fb6091ea
@ -5897,13 +5897,10 @@ p_char_conversion(void)
|
|||||||
return(FALSE);
|
return(FALSE);
|
||||||
}
|
}
|
||||||
for (i = 0; i < NUMBER_OF_CHARS; i++)
|
for (i = 0; i < NUMBER_OF_CHARS; i++)
|
||||||
CharConversionTable2[i] = '\0';
|
CharConversionTable2[i] = i;
|
||||||
}
|
}
|
||||||
/* just add the new entry */
|
/* just add the new entry */
|
||||||
if (s0[0] == s1[0])
|
CharConversionTable2[(int)s0[0]] = s1[0];
|
||||||
CharConversionTable2[(int)s0[0]] = '\0';
|
|
||||||
else
|
|
||||||
CharConversionTable2[(int)s0[0]] = s1[0];
|
|
||||||
/* done */
|
/* done */
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user