summaryrefslogtreecommitdiff
path: root/Source/Core/Util.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2015-01-26 23:42:31 +0100
committerGravatar wuestholz <unknown>2015-01-26 23:42:31 +0100
commit466cb430e1ae626a73a483bb29d450a196f2c592 (patch)
tree877a52cbd838ab26145dd5f5143505ed1249b125 /Source/Core/Util.cs
parent88acfa270c5d94547d62b1822c7e4abcd0ea640b (diff)
Fixed minor issue.
Diffstat (limited to 'Source/Core/Util.cs')
-rw-r--r--Source/Core/Util.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Util.cs b/Source/Core/Util.cs
index f8428942..4afd6f69 100644
--- a/Source/Core/Util.cs
+++ b/Source/Core/Util.cs
@@ -676,13 +676,13 @@ namespace Microsoft.Boogie {
// any filename extension specified by the user. We base our
// calculations on that there is at most one occurrence of @PROC@.
if (180 <= fileName.Length - 6 + pn.Length) {
- pn = pn.Substring(0, Math.Max(180 - (fileName.Length - 6), 0)) + "-n" + System.Threading.Interlocked.Increment(ref sequenceNumber);
+ pn = pn.Substring(0, Math.Max(180 - (fileName.Length - 6), 0)) + "-n" + System.Threading.Interlocked.Increment(ref sequenceId);
}
return fileName.Replace("@PROC@", pn);
}
- private static int sequenceNumber = 0;
+ private static int sequenceId = -1;
}
}