diff options
Diffstat (limited to 'm_option.h')
-rw-r--r-- | m_option.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.h b/m_option.h index 5ab2597549..071e15d6f4 100644 --- a/m_option.h +++ b/m_option.h @@ -259,7 +259,7 @@ m_option_set(m_option_t* opt,void* dst, void* src) { 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); } |