summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Chart.cxx6
-rw-r--r--src/Fl_Help_Dialog.cxx6
-rw-r--r--src/Fl_Help_Dialog.fl4
-rw-r--r--src/Fl_Shared_Image.cxx8
4 files changed, 12 insertions, 12 deletions
diff --git a/src/Fl_Chart.cxx b/src/Fl_Chart.cxx
index cd2564fc1..229c14262 100644
--- a/src/Fl_Chart.cxx
+++ b/src/Fl_Chart.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Chart.cxx,v 1.5.2.6.2.10 2002/09/04 20:33:18 easysw Exp $"
+// "$Id: Fl_Chart.cxx,v 1.5.2.6.2.11 2002/10/11 14:17:21 easysw Exp $"
//
// Forms-compatible chart widget for the Fast Light Tool Kit (FLTK).
//
@@ -315,7 +315,7 @@ void Fl_Chart::add(double val, const char *str, unsigned col) {
}
// Shift entries as needed
if (numb >= maxnumb && maxnumb > 0) {
- memcpy(entries, entries + 1, sizeof(FL_CHART_ENTRY) * (numb - 1));
+ memmove(entries, entries + 1, sizeof(FL_CHART_ENTRY) * (numb - 1));
numb --;
}
entries[numb].val = float(val);
@@ -384,5 +384,5 @@ void Fl_Chart::maxsize(int m) {
}
//
-// End of "$Id: Fl_Chart.cxx,v 1.5.2.6.2.10 2002/09/04 20:33:18 easysw Exp $".
+// End of "$Id: Fl_Chart.cxx,v 1.5.2.6.2.11 2002/10/11 14:17:21 easysw Exp $".
//
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;
}
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;
}
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx
index b094c1f89..586767442 100644
--- a/src/Fl_Shared_Image.cxx
+++ b/src/Fl_Shared_Image.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Shared_Image.cxx,v 1.23.2.16 2002/08/09 01:09:49 easysw Exp $"
+// "$Id: Fl_Shared_Image.cxx,v 1.23.2.17 2002/10/11 14:17:24 easysw Exp $"
//
// Shared image code for the Fast Light Tool Kit (FLTK).
//
@@ -189,7 +189,7 @@ Fl_Shared_Image::release() {
num_images_ --;
if (i < num_images_) {
- memcpy(images_ + i, images_ + i + 1,
+ memmove(images_ + i, images_ + i + 1,
(num_images_ - i) * sizeof(Fl_Shared_Image *));
}
@@ -448,12 +448,12 @@ Fl_Shared_Image::remove_handler(Fl_Shared_Handler f) {
if (i < num_handlers_) {
// Shift later handlers down 1...
- memcpy(handlers_ + i, handlers_ + i + 1,
+ memmove(handlers_ + i, handlers_ + i + 1,
(num_handlers_ - i) * sizeof(Fl_Shared_Handler ));
}
}
//
-// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.16 2002/08/09 01:09:49 easysw Exp $".
+// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.17 2002/10/11 14:17:24 easysw Exp $".
//