Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "cmdshell.h" #include "cmdshell.h"
#include "utf8.h" #include "utf8.h"
#include "unicode.h" #include "unicode.h"
#include "cp437defs.h"
#if defined(_WINSOCKAPI_) #if defined(_WINSOCKAPI_)
extern WSADATA WSAData; extern WSADATA WSAData;
...@@ -160,6 +161,11 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen) ...@@ -160,6 +161,11 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
return nulstr; return nulstr;
} }
if(strcmp(sp, "CHECKMARK") == 0) {
outchar(UNICODE_CHECK_MARK, CP437_CHECK_MARK);
return nulstr;
}
if(!strcmp(sp,"VER")) if(!strcmp(sp,"VER"))
return(VERSION); return(VERSION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment