Commit 04e547bd2cfaf05498ad98ade10a4ed3a168484e

Werner Lemberg 2013-04-03T07:37:56

Fix Savannah bug #38589. * src/bdf/bdflib.c (_bdf_readstream): Thinko.

diff --git a/ChangeLog b/ChangeLog
index 695a568..e09a22f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-03  Werner Lemberg  <wl@gnu.org>
+
+	Fix Savannah bug #38589.
+
+	* src/bdf/bdflib.c (_bdf_readstream): Thinko.
+
 2013-03-31  Werner Lemberg  <wl@gnu.org>
 
 	* configure: Use egrep, not grep.
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index 73d0bb2..9206479 100644
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -754,7 +754,7 @@
         {
           bytes = avail - start;
 
-          FT_MEM_COPY( buf, buf + start, bytes );
+          FT_MEM_MOVE( buf, buf + start, bytes );
 
           cursor = bytes;
           avail -= bytes;