X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cde%2Flib%2FDtTerm%2FTerm%2FTermBuffer.c;h=095fed270db94065f4dfcdb42abf7bd9834607c9;hb=aa1bfc0ab33ff7b8863a3623c599c015263bf1d2;hp=55ee435c7bbc12fb0515670b4fe00088739cacb8;hpb=dc0e8ea74d0448503cfe013f9c9d5de5e1f40b57;p=oweals%2Fcde.git diff --git a/cde/lib/DtTerm/Term/TermBuffer.c b/cde/lib/DtTerm/Term/TermBuffer.c index 55ee435c..095fed27 100644 --- a/cde/lib/DtTerm/Term/TermBuffer.c +++ b/cde/lib/DtTerm/Term/TermBuffer.c @@ -16,7 +16,7 @@ * 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 */ @@ -639,8 +639,8 @@ _DtTermDeleteEnhancement ** 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)); }