修正sprintf的顺序

This commit is contained in:
anod 2023-01-19 12:54:08 +08:00
parent 90472f27ce
commit df0f2d8947

View File

@ -259,7 +259,7 @@ static atp_error_t select_region( atp_callerdata_t data, atp_counter_t index, at
case 'D': t = "德语版"; break; case 'D': t = "德语版"; break;
default: t = "其他语种"; break; default: t = "其他语种"; break;
} }
ee_sprintf(text, "%c-%s", t, 'A'+index); ee_sprintf(text, "%c-%s", 'A'+index, t);
config->text = text; config->text = text;
config->value = sreg; config->value = sreg;
return ATP_SUCCESS; return ATP_SUCCESS;