* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#define USE_MEMCPY /* use memcpy for line movement... */
#include <Xm/Xm.h>
+#include "TermPrim.h"
#include "TermHeader.h" /* for MIN/MAX */
#include "TermBufferP.h"
#include "TermEnhance.h"
/*
** clear "count" enhancements starting at startCol
*/
-static
+static void
clearEnhancements
(
TermBuffer tb,
/*
** clear all the enhancements from startCol through stopCol
*/
-static
+static void
clearEnhancements
(
TermBuffer tb,
** end of the line to col
*/
copyCount = WIDTH(line) - (col + width);
- memcpy(enh + col , enh + col + width,
- copyCount * sizeof(DtTermEnhPart));
+ memmove(enh + col , enh + col + width,
+ copyCount * sizeof(DtTermEnhPart));
}