From 393c227cceaaaa738ad281e826cf8d5695e3ecdb Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 17 Oct 2009 22:08:50 +0000 Subject: [PATCH] fixed bug not copying size parameter to new Buffer objects git-svn-id: svn://anubis/misc/FileLoader@181 bd8a9e45-a331-0410-811e-c64571078777 --- FileLoader.h | 1 + 1 file changed, 1 insertion(+) diff --git a/FileLoader.h b/FileLoader.h index bb62af8..8a83d61 100644 --- a/FileLoader.h +++ b/FileLoader.h @@ -34,6 +34,7 @@ class FileLoader void copy(const Buffer & other) { data = other.data; + size = other.size; _refcnt = other._refcnt; (*_refcnt)++; }