commit:840ab613c01f2974ec6fa80f4b7c95dcfc2b98e3
author:Chip Black
committer:Chip Black
date:Mon Sep 29 21:42:34 2008 -0500
parents:c87b4593cee7ebd588e0fe8541a3067061d02cb0
Fixed help file parsing
diff --git a/HelpBox.cs b/HelpBox.cs
line changes: +1/-1
index 664d5d9..540eb6c
--- a/HelpBox.cs
+++ b/HelpBox.cs
@@ -43,7 +43,7 @@ public class HelpBox {
 		this.pc = pc;
 		helpTitle = file.ReadLine();
 		while ((line = file.ReadLine()) != null) {
-			string[] i = line.Split(null);
+			string[] i = line.Split(null, 2);
 			if (i.Length == 2) {
 				items.Add(new HelpItem(i[0], i[1]));
 			}

diff --git a/control_help b/control_help
line changes: +2/-2
index 3999d55..88aa2fa
--- a/control_help
+++ b/control_help
@@ -3,5 +3,5 @@ N	New
 O	Open
 S	Save
 Q	Quit
-->	Next Word
-<-	Previous Word
+-&gt;	Next Word
+&lt;-	Previous Word