From 790848b822aca5917f593ea24334f9f986c1885d Mon Sep 17 00:00:00 2001
From: fredb <fredb>
Date: Wed, 24 May 2006 10:51:35 +0000
Subject: [PATCH] Compile

---
 src/GUI/property_list.cxx | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/GUI/property_list.cxx b/src/GUI/property_list.cxx
index 62129e557..022636d55 100644
--- a/src/GUI/property_list.cxx
+++ b/src/GUI/property_list.cxx
@@ -289,14 +289,16 @@ int PropertyList::nodeNameCompare(const void *ppNode1, const void *ppNode2)
 
 
 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);
+    }
 }