diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-11 14:17:24 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-11 14:17:24 +0000 |
| commit | be58513af7841d07a8cb4017b57e17dfb4031a1e (patch) | |
| tree | 5c3fae000b4e897d70a9b738fd3fd7dca89b1880 /src/Fl_Help_Dialog.cxx | |
| parent | fddb73a5f2cef20092927c37451e0d15c1d3d2a3 (diff) | |
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
Diffstat (limited to 'src/Fl_Help_Dialog.cxx')
| -rw-r--r-- | src/Fl_Help_Dialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
