sclint inner_loop;
if (privProperties && coordinate) {
/* Copy customizing-allowed properties only if those properties are valid */
- coordinate->label_count = privProperties->label_count;
for (loop = 0;loop < SCL_SHIFT_STATE_MAX;loop++) {
for (inner_loop = 0;inner_loop < MAX_SIZE_OF_LABEL_FOR_ONE;inner_loop++) {
if (!(privProperties->label[loop][inner_loop].empty())) {
privProperties.label[SCL_SHIFT_STATE_LOCK][0] = label;
privProperties.label[SCL_SHIFT_STATE_ON][0] = label;
privProperties.label[SCL_SHIFT_STATE_OFF][0] = label;
- privProperties.label_count = 1;
}
if (key_value) {
privProperties.key_value[SCL_SHIFT_STATE_LOCK][0] = privProperties.key_value[SCL_SHIFT_STATE_ON][0] =