From 840ab613c01f2974ec6fa80f4b7c95dcfc2b98e3 Mon Sep 17 00:00:00 2001 From: Chip Black Date: Mon, 29 Sep 2008 21:42:34 -0500 Subject: [PATCH] Fixed help file parsing --- HelpBox.cs | 2 +- control_help | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HelpBox.cs b/HelpBox.cs index 664d5d9..540eb6c 100644 --- 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 index 3999d55..88aa2fa 100644 --- a/control_help +++ b/control_help @@ -3,5 +3,5 @@ N New O Open S Save Q Quit --> Next Word -<- Previous Word +-> Next Word +<- Previous Word -- 2.25.1