changeset 77:0da8878ec057 tn5250

convert 5250 to vt320 attributes
author Carl Byington <carl@five-ten-sg.com>
date Sun, 15 Jun 2014 10:58:26 -0700
parents 00464d9c2f54
children 044b1a951925
files src/org/tn5250j/framework/tn5250/Screen5250.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java	Sun Jun 15 10:57:28 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/Screen5250.java	Sun Jun 15 10:58:26 2014 -0700
@@ -3850,7 +3850,7 @@
                 int fg = vt320color[(int)(co        && 0x0f)];
                 int ul = (int)(at && EXTENDED_5250_UNDERLINE);
                 int nd = (int)(at && EXTENDED_5250_NON_DSP);
-                int vt_attr = (fg << COLOR_FG_SHIFT) + (bg << COLOR_BG_SHIFT)
+                int vt_attr = (fg << COLOR_FG_SHIFT) + (bg << COLOR_BG_SHIFT);
                 if (ul > 0) vt_attr |= UNDERLINE;
                 if (nd > 0) vt_attr |= INVISIBLE;
                 buffer.putChar(c, r, ch, vt_attr);