1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/comms/qpage/files/patch-util.c
Pav Lucistnik 8f15720c84 The qpage port will run words together in long pages. The problem
is in msgcpy in util.c, where the breaks don't preserve word
	boundries.

PR:		ports/73020
Submitted by:	Douglas K. Rand <rand@meridian-enviro.com>
2004-10-28 22:03:28 +00:00

12 lines
237 B
C

--- util.c.orig Sun Oct 25 20:55:11 1998
+++ util.c Thu Oct 28 23:58:37 2004
@@ -537,7 +537,7 @@
** Now make sure we didn't chop a word in the middle.
*/
if (*src && end) {
- *end++ = '\0';
+ *++end = '\0';
src = start;
}