void PropertyList::setValue(const char *s)
-try {
- SGPropertyNode *p = fgGetNode(s, false);
- if (p)
- setCurrent(p);
- else
- throw stdString("node doesn't exist");
-} catch (const stdString& m) {
- SG_LOG(SG_GENERAL, SG_DEBUG, "property-list node `" << s << "': " << m);
+{
+ try {
+ SGPropertyNode *p = fgGetNode(s, false);
+ if (p)
+ setCurrent(p);
+ else
+ throw stdString("node doesn't exist");
+ } catch (const stdString& m) {
+ SG_LOG(SG_GENERAL, SG_DEBUG, "property-list node `" << s << "': " << m);
+ }
}