Skip to content

Commit

Permalink
100L m_option_copy should use the copy callback and not the set one.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17457 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
albeu committed Jan 22, 2006
1 parent 6d5a941 commit 169df2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 169df2a

Please sign in to comment.