From 8328c924d4f5f70a6323bc6e7f903daffaac5a5a Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 11 Dec 2008 21:03:10 +0000 Subject: [PATCH] Fix a typo: angle::deg::get() returns a float not a string. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2310 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/value.cpp b/synfig-core/trunk/src/synfig/value.cpp index 0a85c9b..04ebe68 100644 --- a/synfig-core/trunk/src/synfig/value.cpp +++ b/synfig-core/trunk/src/synfig/value.cpp @@ -105,7 +105,7 @@ ValueBase::get_string() const case TYPE_NIL: return "Nil"; case TYPE_BOOL: return strprintf("Bool (%s)", get(bool()) ? "true" : "false"); case TYPE_INTEGER: return strprintf("Integer (%s)", get(int())); - case TYPE_ANGLE: return strprintf("Angle (%s)", Angle::deg(get(Angle())).get()); + case TYPE_ANGLE: return strprintf("Angle (%.2f)", Angle::deg(get(Angle())).get()); // All types after this point are larger than 32 bits -- 2.7.4