summaryrefslogtreecommitdiff
path: root/sources/simulator/VSLogging.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-18 03:25:42 +0000
committerPaul Buetow <paul@buetow.org>2008-05-18 03:25:42 +0000
commit84faa0582608b9eaf5ab5138be126d5bec24a45a (patch)
tree9c9d499006ec24ef450ed112a005cdf3ac38db60 /sources/simulator/VSLogging.java
parent7b3a0120581322678ddc0ed58f1a6a478899c217 (diff)
Bugfix in isPaused
Diffstat (limited to 'sources/simulator/VSLogging.java')
-rw-r--r--sources/simulator/VSLogging.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/sources/simulator/VSLogging.java b/sources/simulator/VSLogging.java
index 3683c3a..c819a76 100644
--- a/sources/simulator/VSLogging.java
+++ b/sources/simulator/VSLogging.java
@@ -45,15 +45,10 @@ public class VSLogging {
buffer.append(": ");
buffer.append(message);
- if (isPaused) {
+ if (isPaused)
pauseLines.add(buffer);
- loggingLines.add(buffer);
- loggingArea.append(buffer.toString()+"\n");
- loggingArea.setCaretPosition(loggingArea.getDocument().getLength());
-
- } else {
+ else
loggFiltered(buffer);
- }
}
public synchronized void isPaused(boolean isPaused) {