diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-18 19:29:30 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-18 19:29:30 +0000 |
| commit | 2d45de18df35f6d3ba4ca0b86ec1188e49637413 (patch) | |
| tree | 6c84c8cd14a89a6dabeada811c6477d1e5459767 /sources/core/VSProcess.java | |
| parent | c46ed2242876bfb267ed0b6823c8a3e99ac62dd6 (diff) | |
The TaskManager works partly.
Diffstat (limited to 'sources/core/VSProcess.java')
| -rw-r--r-- | sources/core/VSProcess.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/core/VSProcess.java b/sources/core/VSProcess.java index bef1f58..467ee46 100644 --- a/sources/core/VSProcess.java +++ b/sources/core/VSProcess.java @@ -231,9 +231,9 @@ public final class VSProcess extends VSPrefs { taskManager.removeTask(randomCrashTask); if (crashTime >= 0 && crashTime >= getGlobalTime()) { - VSProcessEvent event = new ProcessCrashEvent(); + VSEvent event = new ProcessCrashEvent(); event.init(this); - randomCrashTask = new VSTask(crashTime, this, event); + randomCrashTask = new VSTask(crashTime, this, event, VSTask.GLOBAL); taskManager.addTask(randomCrashTask); } else { @@ -474,7 +474,7 @@ public final class VSProcess extends VSPrefs { buffer.append(prefs.getString("lang.message.sent")); buffer.append("; "); buffer.append(prefs.getString("lang.protocol")); - buffer.append(": " + message.getProtocolName()); + buffer.append(": " + message.getName()); buffer.append("; "); buffer.append(prefs.getString("lang.message")); buffer.append(" "); |
