4 * Revision 1.1 2001/04/04 05:43:38 wang
5 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
7 * Revision 1.1 1998/07/02 17:18:00 bnv
15 /* ------------------ Loverlay ---------------- */
17 Loverlay( const PLstr to
, const PLstr newstr
, const PLstr target
,
18 long n
, long length
, const char pad
)
31 if (length
<0) length
= LLEN(*newstr
);
33 if (n
+length
> LLEN(*target
))
34 Lsubstr(to
,target
,1,n
+length
,pad
);
39 Lsubstr(&tmp
,newstr
,1,length
,pad
);
41 MEMCPY( LSTR(*to
)+n
, LSTR(tmp
), (size_t)length
);