This commit is contained in:
luoliangyi 2023-03-23 15:01:31 +08:00
parent 3291d7ef95
commit 0a5beb45e8
1 changed files with 2 additions and 2 deletions

View File

@ -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];
}