From be58513af7841d07a8cb4017b57e17dfb4031a1e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 11 Oct 2002 14:17:24 +0000 Subject: Use memmove() instead of memcpy() in several key places. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_Dialog.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Help_Dialog.cxx') diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx index 0a4f06620..2e58f5b72 100644 --- a/src/Fl_Help_Dialog.cxx +++ b/src/Fl_Help_Dialog.cxx @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0100 +// generated by Fast Light User Interface Designer (fluid) version 1.0101 #include "../FL/Fl_Help_Dialog.H" #include "flstring.h" @@ -11,8 +11,8 @@ inline void Fl_Help_Dialog::cb_view__i(Fl_Help_View*, void*) { if (index_ >= 100) { - memcpy(line_, line_ + 10, sizeof(line_[0]) * 90); - memcpy(file_, file_ + 10, sizeof(file_[0]) * 90); + memmove(line_, line_ + 10, sizeof(line_[0]) * 90); + memmove(file_, file_ + 10, sizeof(file_[0]) * 90); index_ -= 10; } -- cgit v1.2.3