mirror of
https://github.com/moibenko/mtx.git
synced 2025-12-23 05:55:13 +00:00
One more fix to copy_char_buffer to make trailing character correct.
This commit is contained in:
@@ -631,7 +631,7 @@ void copy_char_buffer(unsigned char *src, unsigned char *dest, int num)
|
||||
|
||||
for (i=0; i < num; i++)
|
||||
{
|
||||
if (isalnum(*src)) {
|
||||
if (isxdigit(*src)) {
|
||||
*dest++ = *src;
|
||||
}
|
||||
src++;
|
||||
|
||||
Reference in New Issue
Block a user