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

Add TRUNCOFF @-code to turn off line truncation (if already turned on)

parent d7e87b6c
Branches
Tags
No related merge requests found
......@@ -433,6 +433,11 @@ char sbbs_t::putmsgfrag(const char* buf, int& mode, int org_cols, JSObject* obj)
mode |= P_TRUNCATE;
continue;
}
if(memcmp(str+l, "@TRUNCOFF@", 10) == 0) {
l += 10;
mode &= ~P_TRUNCATE;
continue;
}
if(memcmp(str+l, "@QON@", 5) == 0) { // Allow the file display to be aborted (PCBoard)
l += 5;
mode &= ~P_NOABORT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment