diff options
author | Steve Northover <steve> | 2005-01-14 22:15:09 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-01-14 22:15:09 +0000 |
commit | 6da1c5615f2c0d81219cf84d025e7b41e2276cf7 (patch) | |
tree | 31c4a8716cfdce1d1b5b7693a3bf6a28d5957aa5 /bundles/org.eclipse.swt/Eclipse SWT/win32/org | |
parent | 9aa111009eb55f78239030ddcabfd6bb90983b3a (diff) | |
download | eclipse.platform.swt-6da1c5615f2c0d81219cf84d025e7b41e2276cf7.tar.gz eclipse.platform.swt-6da1c5615f2c0d81219cf84d025e7b41e2276cf7.tar.xz eclipse.platform.swt-6da1c5615f2c0d81219cf84d025e7b41e2276cf7.zip |
rename timerCount to nextTimerId
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java index 0a2c896c79..ae4242e4f6 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java @@ -164,9 +164,9 @@ public class Display extends Device { int nextTrayId = 0; /* Timers */ - int timerCount; int [] timerIds; Runnable [] timerList; + int nextTimerId; /* Keyboard and Mouse State */ int lastKey, lastAscii, lastMouse; @@ -3191,8 +3191,8 @@ public void timerExec (int milliseconds, Runnable runnable) { if (timerList [index] == null) break; index++; } - timerCount++; - timerId = timerCount; + nextTimerId++; + timerId = nextTimerId; if (index == timerList.length) { Runnable [] newTimerList = new Runnable [timerList.length + 4]; System.arraycopy (timerList, 0, newTimerList, 0, timerList.length); |