aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/mud/terminal/vt320.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/mud/terminal/vt320.java')
-rw-r--r--src/de/mud/terminal/vt320.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/mud/terminal/vt320.java b/src/de/mud/terminal/vt320.java
index 729b6de..27298a5 100644
--- a/src/de/mud/terminal/vt320.java
+++ b/src/de/mud/terminal/vt320.java
@@ -85,7 +85,7 @@ public abstract class vt320 extends VDUBuffer implements VDUInput {
* @param start place to start in array
* @param len number of characters to process
*/
- public void putString(char[] s, boolean[] fullwidths, int start, int len) {
+ public void putString(char[] s, byte[] fullwidths, int start, int len) {
if (len > 0) {
//markLine(R, 1);
int lastChar = -1;
@@ -112,7 +112,7 @@ public abstract class vt320 extends VDUBuffer implements VDUInput {
putChar((char) lastChar, isWide, false);
lastChar = c;
if (fullwidths != null)
- isWide = fullwidths[i];
+ isWide = fullwidths[i] == 1;
}
}
}