Commit e5fea17b authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Constify sbbs_t::center()

parent fa641a66
......@@ -787,7 +787,7 @@ void sbbs_t::inc_row(int count)
}
}
void sbbs_t::center(char *instr, unsigned int columns)
void sbbs_t::center(const char *instr, unsigned int columns)
{
char str[256];
size_t len;
......
......@@ -759,7 +759,7 @@ public:
int outchar(enum unicode_codepoint, const char* cp437_fallback = NULL);
void inc_row(int count);
void inc_column(int count);
void center(char *str, unsigned int columns = 0);
void center(const char *str, unsigned int columns = 0);
void wide(const char*);
void clearscreen(long term);
void clearline(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment