summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/properties.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/properties.h b/src/properties.h
index e7aab157..e203c75c 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -57,8 +57,8 @@ class Properties
*
* @param name The name of the property.
* @param def Default value, 0.0f by default.
- * @return the value of the given property, or 0.0f when it doesn't
- * exist.
+ * @return the value of the given property or the given default when it
+ * doesn't exist.
*/
float getFloatProperty(const std::string &name, float def = 0.0f) const
{
@@ -78,8 +78,8 @@ class Properties
*
* @param name The name of the property.
* @param def Default value, false by default.
- * @return the value of the given property, or false when it doesn't
- * exist.
+ * @return the value of the given property or the given default when it
+ * doesn't exist.
*/
float getBoolProperty(const std::string &name, bool def = false) const
{