projects
/
Nebula.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c87b459
)
Fixed help file parsing
master
author
Chip Black
<bytex64@bytex64.net>
Tue, 30 Sep 2008 02:42:34 +0000
(21:42 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Tue, 30 Sep 2008 02:42:34 +0000
(21:42 -0500)
HelpBox.cs
patch
|
blob
|
history
control_help
patch
|
blob
|
history
diff --git
a/HelpBox.cs
b/HelpBox.cs
index
664d5d9
..
540eb6c
100644
(file)
--- 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
(file)
--- 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