# HG changeset patch # User albeu # Date 1137933794 0 # Node ID b8ce59172e6a00e6417e2ea01886f13ec5d8a021 # Parent 1bb20b4c4082618ae453ae0012d3761c2d0049ad 100L m_option_copy should use the copy callback and not the set one. diff -r 1bb20b4c4082 -r b8ce59172e6a m_option.h --- a/m_option.h Sun Jan 22 05:57:46 2006 +0000 +++ b/m_option.h Sun Jan 22 12:43:14 2006 +0000 @@ -259,7 +259,7 @@ inline static void m_option_copy(m_option_t* opt,void* dst, void* src) { if(opt->type->copy) - opt->type->set(opt,dst,src); + opt->type->copy(opt,dst,src); else if(opt->type->size > 0) memcpy(dst,src,opt->type->size); }