diff --git a/src/lib/ebus/data.h b/src/lib/ebus/data.h index bd56ac17..b4378e05 100755 --- a/src/lib/ebus/data.h +++ b/src/lib/ebus/data.h @@ -266,7 +266,7 @@ class DataField : public AttributedItem { /** * Get the specified field name. * @param fieldIndex the index of the field (excluding ignored fields), or -1 for this. - * @return the field name, or the index as string is not unique or not available. + * @return the field name, or the index as string if not unique or not available. */ virtual string getName(ssize_t fieldIndex) const = 0; diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index cfbe443b..f4a50fd8 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -282,7 +282,7 @@ class Message : public AttributedItem { /** * Get the specified field name. * @param fieldIndex the index of the field (excluding ignored fields). - * @return the field name, or the index as string if not unique, or empty not available. + * @return the field name, or the index as string if not unique or not available. */ string getFieldName(ssize_t fieldIndex) const { return m_data->getName(fieldIndex); }