summaryrefslogtreecommitdiff
path: root/src/squelch/tree_printer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/squelch/tree_printer.cc')
-rw-r--r--src/squelch/tree_printer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/squelch/tree_printer.cc b/src/squelch/tree_printer.cc
index 0dbceec9..c9b70223 100644
--- a/src/squelch/tree_printer.cc
+++ b/src/squelch/tree_printer.cc
@@ -1,7 +1,7 @@
#include "tome/squelch/tree_printer_fwd.hpp"
#include "tome/squelch/tree_printer.hpp"
-#include "../z-term.h"
+#include "../z-term.hpp"
namespace squelch {
@@ -53,9 +53,9 @@ void TreePrinter::scroll_right() {
m_write_off_x--;
}
-void TreePrinter::write(uint8_t color, cptr line)
+void TreePrinter::write(uint8_t color, const char *line)
{
- cptr p = line;
+ const char *p = line;
for (p = line; *p != '\0'; p++)
{