aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-31 21:58:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-31 21:58:27 -0700
commit93f18bd21e223e18bc1384afe408e4d72c77938d (patch)
tree52806ffb1c395f2fd3d4f45d9e1ea9b12c57947a
parent01f154bae839e37bfb7090eb90fb660a2639f954 (diff)
downloadsyslinux-93f18bd21e223e18bc1384afe408e4d72c77938d.tar.gz
syslinux-93f18bd21e223e18bc1384afe408e4d72c77938d.tar.xz
syslinux-93f18bd21e223e18bc1384afe408e4d72c77938d.zip
state -> st.state
-rw-r--r--com32/lib/sys/ansicon_write.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/lib/sys/ansicon_write.c b/com32/lib/sys/ansicon_write.c
index 31f3e1aa..9fcc075c 100644
--- a/com32/lib/sys/ansicon_write.c
+++ b/com32/lib/sys/ansicon_write.c
@@ -510,9 +510,9 @@ static void ansicon_putchar(int ch)
case st_soh:
if ( ch == '#' )
- state = st_sohc;
+ st.state = st_sohc;
else
- state = st_init;
+ st.state = st_init;
break;
case st_sohc:
@@ -520,9 +520,9 @@ static void ansicon_putchar(int ch)
int n = (unsigned char)ch - '0';
if (n < 10) {
st.param[0] = n*10;
- state = st_sohc1;
+ st.state = st_sohc1;
} else {
- state = st_init;
+ st.state = st_init;
}
}
break;
@@ -536,14 +536,14 @@ static void ansicon_putchar(int ch)
st.param[0] += n;
/* Emulate the appropriate CSI m sequence */
if (st.param[0] < console_color_table_size) {
- state = st_csi;
+ st.state = st_csi;
for (p = console_color_table[st.param[0]]; *p; p++)
ansicon_putchar(*p);
ansicon_putchar('m');
}
}
- state = st_init;
+ st.state = st_init;
}
break;
}