This commit is contained in:
parent
3291d7ef95
commit
0a5beb45e8
|
@ -1106,7 +1106,7 @@ HGUInt HGLibDeviceImpl::GetGroupName(const char* group)
|
|||
|
||||
const char* HGLibDeviceImpl::GetOptionName(HGUInt option)
|
||||
{
|
||||
if (option > HGLIB_OPTION_NAME_DZSM)
|
||||
if (option > HGLIB_OPTION_NAME_DZSMTCSJ)
|
||||
return NULL;
|
||||
return OPTION_NAME[option];
|
||||
}
|
||||
|
@ -1131,7 +1131,7 @@ HGUInt HGLibDeviceImpl::GetOptionName(const char* option)
|
|||
|
||||
const char* HGLibDeviceImpl::GetOptionEnumValue(HGUInt enumValue)
|
||||
{
|
||||
if (enumValue > HGLIB_OPTION_ENUMVALUE_WGFX_ZDWBFXSB)
|
||||
if (enumValue > HGLIB_OPTION_ENUMVALUE_ZDDZ)
|
||||
return NULL;
|
||||
return OPTION_ENUMVALUE[enumValue];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue