Skip to content
Snippets Groups Projects
Commit e5fea17b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Constify sbbs_t::center()

parent fa641a66
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -787,7 +787,7 @@ void sbbs_t::inc_row(int count) ...@@ -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]; char str[256];
size_t len; size_t len;
......
...@@ -759,7 +759,7 @@ public: ...@@ -759,7 +759,7 @@ public:
int outchar(enum unicode_codepoint, const char* cp437_fallback = NULL); int outchar(enum unicode_codepoint, const char* cp437_fallback = NULL);
void inc_row(int count); void inc_row(int count);
void inc_column(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 wide(const char*);
void clearscreen(long term); void clearscreen(long term);
void clearline(void); void clearline(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment