From 02465078219078ee0a0374c26057a21134ce24b6 Mon Sep 17 00:00:00 2001
From: mfranz <mfranz>
Date: Thu, 20 Jul 2006 17:52:55 +0000
Subject: [PATCH] fix indentation

---
 Nasal/gui.nas | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/Nasal/gui.nas b/Nasal/gui.nas
index 663cd00f4..607367b85 100644
--- a/Nasal/gui.nas
+++ b/Nasal/gui.nas
@@ -149,19 +149,19 @@ Widget = {
 #     fgcommand("dialog-show", dlg);
 #
 loadXMLDialog = func(node, path) {
-	if (node.getName() != "dialog") {
-		print("loadXMLDialog: node name must be 'dialog'");
-		return nil;
-	}
-	fgcommand("loadxml", props.Node.new({"filename": path, "targetnode": node.getPath()}));
-	var name = node.getNode("name");
-	if (name == nil) {
-		print("loadXMLDialog: XML dialog must have <name>");
-		return nil;
-	}
-	node.getNode("dialog-name", 1).setValue(name.getValue());
-	fgcommand("dialog-new", node);
-	node;
+    if (node.getName() != "dialog") {
+        print("loadXMLDialog: node name must be 'dialog'");
+        return nil;
+    }
+    fgcommand("loadxml", props.Node.new({"filename": path, "targetnode": node.getPath()}));
+    var name = node.getNode("name");
+    if (name == nil) {
+        print("loadXMLDialog: XML dialog must have <name>");
+        return nil;
+    }
+    node.getNode("dialog-name", 1).setValue(name.getValue());
+    fgcommand("dialog-new", node);
+    node;
 }