cmSymTbl.c: Fixed cmSymTblRegisterFmt() to return new symbol id.

This commit is contained in:
kevin 2013-03-21 11:03:21 -07:00
parent 44c4ad31fe
commit d085271de4

View File

@ -274,8 +274,9 @@ unsigned cmSymTblRegisterFmt( cmSymTblH_t h, const cmChar_t* fmt, ... )
{
va_list vl;
va_start(vl,fmt);
cmSymTblRegisterVFmt(h,fmt,vl);
unsigned id = cmSymTblRegisterVFmt(h,fmt,vl);
va_end(vl);
return id;
}