diff options
author | 2011-01-28 22:37:17 +0000 | |
---|---|---|
committer | 2011-01-28 22:37:17 +0000 | |
commit | 7e4372e9707dafd745fe381d618d6537336a24ef (patch) | |
tree | 4261db800b33abdbfdc51fb5899d7eea7d3bd0be /Source/ModelViewer/Main.cs | |
parent | 3a91e88c2396b048240155aa6e14f9f041ef5957 (diff) |
Fix a bug with previous state display
Diffstat (limited to 'Source/ModelViewer/Main.cs')
-rw-r--r-- | Source/ModelViewer/Main.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/ModelViewer/Main.cs b/Source/ModelViewer/Main.cs index d18e1daf..e1dfe528 100644 --- a/Source/ModelViewer/Main.cs +++ b/Source/ModelViewer/Main.cs @@ -704,7 +704,7 @@ namespace Microsoft.Boogie.ModelViewer var prev = "";
- if (!IsMatchListItem && prevId > 0 && skel.displayNodes[prevId] != null) {
+ if (!IsMatchListItem && prevId >= 0 && skel.displayNodes[prevId] != null) {
prev = skel.displayNodes[prevId].Value;
}
|