Skip to content
Snippets Groups Projects
Commit 2c546dc8 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 9eeb09f1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3928 passed
......@@ -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.
Finish editing this message first!
Please register or to comment