diff options
author | David Robillard <d@drobilla.net> | 2006-08-10 00:56:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-10 00:56:04 +0000 |
commit | 60e9d9c3df868af02e7acf6ceb1dc12214aa9f88 (patch) | |
tree | 0ff558af6767b52f05055227fb4e5f71a9d65e1b /libs/ardour/panner.cc | |
parent | fece970e268dc409e507fd4fd91db8f3b336d8d7 (diff) |
A few minor warning fixes
git-svn-id: svn://localhost/ardour2/trunk@776 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/panner.cc')
-rw-r--r-- | libs/ardour/panner.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/panner.cc b/libs/ardour/panner.cc index 8336c4697c..f866b5ae10 100644 --- a/libs/ardour/panner.cc +++ b/libs/ardour/panner.cc @@ -1258,10 +1258,10 @@ Panner::set_state (const XMLNode& node) float x, y; prop = (*niter)->property (X_("x")); - sscanf (prop->value().c_str(), "%.12g", &x); + sscanf (prop->value().c_str(), "%g", &x); prop = (*niter)->property (X_("y")); - sscanf (prop->value().c_str(), "%.12g", &y); + sscanf (prop->value().c_str(), "%g", &y); outputs.push_back (Output (x, y)); } |