1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/editors/uzap/files/patch-b

20 lines
540 B
Plaintext
Raw Normal View History

*** search.c.orig Thu Mar 30 20:04:12 1989
--- search.c Mon Jun 19 22:17:24 1995
***************
*** 217,223 ****
}
}
for(x= 0; x < len - 1; x+= 2){
! strcpy(hdigit, hex + (len - x - 2), 2);
hdigit[2]= '\0';
if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;
--- 217,223 ----
}
}
for(x= 0; x < len - 1; x+= 2){
! strncpy(hdigit, hex + (len - x - 2), 2);
hdigit[2]= '\0';
if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;