diff src/de/mud/terminal/vt320.java @ 71:7ae9b0c382ec tn5250

use 5250 encryption config entry
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 19:13:05 -0700
parents 294435151b0c
children 8181cb01c64d
line wrap: on
line diff
--- a/src/de/mud/terminal/vt320.java	Fri Jun 13 19:07:34 2014 -0700
+++ b/src/de/mud/terminal/vt320.java	Fri Jun 13 19:13:05 2014 -0700
@@ -72,7 +72,7 @@
         // ignore line and column, just send the bytes to the host.
         int n = d.length;
         byte [] b = new byte [n];
-        for (int i=0; i<n; i++) b[i] = c[i] & 0x00ff;
+        for (int i=0; i<n; i++) b[i] = d[i] & 0x00ff;
         write(b);
     }