From 34e2e52158722d57381dad6299062c491cec860a Mon Sep 17 00:00:00 2001 From: david Date: Wed, 5 Jun 2002 21:43:44 +0000 Subject: [PATCH] Patch from Georg Kaiser. --- src/Cockpit/panel_io.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cockpit/panel_io.cxx b/src/Cockpit/panel_io.cxx index 14f4358af..4e89749ca 100644 --- a/src/Cockpit/panel_io.cxx +++ b/src/Cockpit/panel_io.cxx @@ -549,7 +549,7 @@ readLayer (const SGPropertyNode * node, float w_scale, float h_scale) static FGPanelInstrument * readInstrument (const SGPropertyNode * node) { - const string &name = node->getStringValue("name"); + const string name = node->getStringValue("name"); int x = node->getIntValue("x", -1); int y = node->getIntValue("y", -1); int real_w = node->getIntValue("w", -1); -- 2.39.5