summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-10-19 15:07:27 +0200
committerGravatar wuestholz <unknown>2014-10-19 15:07:27 +0200
commitc2cbd1351add01085ea45a9b51a07d1e39a5cd42 (patch)
tree2a4f4d5907381290010d00a6795c763b3848e33b /Source/DafnyExtension
parent1517887fbf8b3fba7bbee6f5e613696b7cddba18 (diff)
DafnyExtension: Fixed minor issue in the menu.
Diffstat (limited to 'Source/DafnyExtension')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index 3d4e7916..e96e0743 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -224,7 +224,7 @@ namespace DafnyLanguage
public static int ChangeIncrementalVerification(int mode)
{
var old = Dafny.DafnyOptions.Clo.VerifySnapshots;
- if (mode == 1 && old != 0)
+ if (mode == 1 && 1 <= old)
{
// Disable mode 1.
Dafny.DafnyOptions.Clo.VerifySnapshots = 0;