Commit a9eea573 authored by rswindell's avatar rswindell
Browse files

New @-code: @checkmark@, sends the Unicode CHECKMARK or the CP437

square root symbol (or PETSCII check mark), as appropriate.
parent 203976c7
......@@ -38,6 +38,7 @@
#include "cmdshell.h"
#include "utf8.h"
#include "unicode.h"
#include "cp437defs.h"
#if defined(_WINSOCKAPI_)
extern WSADATA WSAData;
......@@ -160,6 +161,11 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
return nulstr;
}
if(strcmp(sp, "CHECKMARK") == 0) {
outchar(UNICODE_CHECK_MARK, CP437_CHECK_MARK);
return nulstr;
}
if(!strcmp(sp,"VER"))
return(VERSION);
......
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