Skip to content
Snippets Groups Projects
Commit fb726ced authored by rswindell's avatar rswindell
Browse files

Add @-code CLEAR_HOT clears any existing hot spots.

parent e87d43e7
Branches
Tags
No related merge requests found
...@@ -289,6 +289,10 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool ...@@ -289,6 +289,10 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
hot_attr = attrstr(sp); hot_attr = attrstr(sp);
return nulstr; return nulstr;
} }
if(strcmp(sp, "CLEAR_HOT") == 0) {
clear_hotspots();
return nulstr;
}
if(strncmp(sp, "U+", 2) == 0) { // UNICODE if(strncmp(sp, "U+", 2) == 0) { // UNICODE
enum unicode_codepoint codepoint = (enum unicode_codepoint)strtoul(sp + 2, &tp, 16); enum unicode_codepoint codepoint = (enum unicode_codepoint)strtoul(sp + 2, &tp, 16);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment