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.fl | |
| 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.fl')
| -rw-r--r-- | src/Fl_Help_Dialog.fl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Help_Dialog.fl b/src/Fl_Help_Dialog.fl index c5ddabd98..7308d9e41 100644 --- a/src/Fl_Help_Dialog.fl +++ b/src/Fl_Help_Dialog.fl @@ -25,8 +25,8 @@ class Fl_Help_Dialog {open 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; } |
