Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Xenos2016-11-22 18:25:26 +0000
committerStefan Xenos2016-11-22 18:26:00 +0000
commit1a0a0068fc8c3997f73bea9d60f7365855291435 (patch)
tree01f35da6263a3bd126dfc625c43791782c8ff786
parentf3511f0a38be465923c1d735072f234597af1bff (diff)
downloadrt.equinox.bundles-1a0a0068fc8c3997f73bea9d60f7365855291435.tar.gz
rt.equinox.bundles-1a0a0068fc8c3997f73bea9d60f7365855291435.tar.xz
rt.equinox.bundles-1a0a0068fc8c3997f73bea9d60f7365855291435.zip
Change-Id: Ic6bdcf6347e86b500d07a7336b3d52c7e2a7ef2a Signed-off-by: Stefan Xenos <sxenos@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
index b2a31afe5..ddbb3170e 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
@@ -972,7 +972,7 @@ public final class SubMonitor implements IProgressMonitorWithBlocking {
int oldUsedForParent = this.usedForParent;
SubMonitor result = newChild(totalWork, suppressFlags);
- if ((flags & SUPPRESS_ISCANCELED) == 0) {
+ if ((result.flags & SUPPRESS_ISCANCELED) == 0) {
int ticksTheChildWillReportToParent = result.totalParent;
// If the new child reports a nonzero amount of progress.

Back to the top