chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132e81d
)
treat low startup states as power off
author
ian
<ian>
Mon, 14 Jul 2008 20:39:34 +0000
(20:39 +0000)
committer
ian
<ian>
Mon, 14 Jul 2008 20:39:34 +0000
(20:39 +0000)
hostside/gui-plan.c
patch
|
blob
|
history
diff --git
a/hostside/gui-plan.c
b/hostside/gui-plan.c
index 79fda7b93025fc88fb997f58d74da4656246c0cc..088f57e7cc69d22eb3860c05f466fc6f5f28a2a3 100644
(file)
--- a/
hostside/gui-plan.c
+++ b/
hostside/gui-plan.c
@@
-687,6
+687,9
@@
static void si_stastate(ParseState *ps) {
state[s].owner= 0;
}
}
+ if (stastate <= Sta_Off) {
+ poweron= 0;
+ }
mx_redraw_all();
}