]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/KLN89/kln89_page_dir.cxx
throw out "zoomed" tapes. These drew 60% of the scale with bullets rather
[flightgear.git] / src / Instrumentation / KLN89 / kln89_page_dir.cxx
index 63c75abe8168b0eac171e3df60cc77a117c153ab..de761232a475abf60c64ab871bc1017201459948 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "kln89_page_dir.hxx"
 
 KLN89DirPage::KLN89DirPage(KLN89* parent)
@@ -63,7 +67,7 @@ void KLN89DirPage::Update(double dt) {
        KLN89Page::Update(dt);
 }
 
-void KLN89DirPage::SetId(string s) {
+void KLN89DirPage::SetId(const string& s) {
        if(s.size()) {
                _id = s;
                // TODO - fill in lat, lon, type
@@ -100,4 +104,4 @@ void KLN89DirPage::EntPressed() {
        } else {
                _kln89->DtoInitiate(_id);
        }
-}
\ No newline at end of file
+}