summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-05 14:14:15 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-05 14:14:15 -0700
commite823418b40aed0a230352a83c76f87741bf8c4a7 (patch)
tree1e0d996cfcf0f896037072dbda641d195c8afefc
parent1b25be33dee7c95e0af01091827d706cc3326161 (diff)
downloadmana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.gz
mana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.bz2
mana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.xz
mana-e823418b40aed0a230352a83c76f87741bf8c4a7.zip
Fix the return type of getBoolProperty and standardize the docs
-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
{