automatic escaping for strings
* parsed words starting with " will handle richtext * all strings in saved.cfg that need escaping are escaped * new command "escape" to escape a string manually DOCREF escape
This commit is contained in:
@@ -606,7 +606,7 @@ void writebinds(stream *f)
|
||||
loopv(keyms)
|
||||
{
|
||||
keym *km = &keyms[i];
|
||||
loopj(3) if(*km->actions[j]) f->printf("%s \"%s\" [%s]\n", keycmd(j), km->name, km->actions[j]);
|
||||
loopj(3) if(*km->actions[j]) f->printf("%s \"%s\" %s\n", keycmd(j), km->name, escapestring(km->actions[j]));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user