aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-04 09:36:37 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-04 12:29:02 +0100
commit652b197f9005fe9ef949dfca48dd28f6109bcf09 (patch)
tree2d3002a799086752f5b8d93102f843fdc1ce961b /com32/lib
parent0aad5be4e47048a91ce007fdb630e407cb67c381 (diff)
downloadsyslinux-652b197f9005fe9ef949dfca48dd28f6109bcf09.tar.gz
syslinux-652b197f9005fe9ef949dfca48dd28f6109bcf09.tar.xz
syslinux-652b197f9005fe9ef949dfca48dd28f6109bcf09.zip
firmware: s/set_mode/text_mode/
We only ever use ->set_mode() to transition into text mode, so rename it to something more suitable and drop the unused 'mode' argument. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/sys/ansicon_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/ansicon_write.c b/com32/lib/sys/ansicon_write.c
index f0d06338..6e70c58c 100644
--- a/com32/lib/sys/ansicon_write.c
+++ b/com32/lib/sys/ansicon_write.c
@@ -83,7 +83,7 @@ int __ansicon_open(struct file_info *fp)
ti.cols = 80;
} else {
/* Force text mode */
- firmware->o_ops->set_mode(TEXT_MODE);
+ firmware->o_ops->text_mode();
/* Initial state */
firmware->o_ops->get_mode(&ti.cols, &ti.rows);