| 1417 | } |
| 1418 | |
| 1419 | void xmapbackup(const char *nickprefix, const char *nick) // throw away existing backup and make a new one |
| 1420 | { |
| 1421 | xmapdelete(bak); |
| 1422 | defformatstring(text)("%s%s", nickprefix, nick); |
| 1423 | bak = new xmap(text); |
| 1424 | if(unsavededits) conoutf("\f3stored backup of unsaved edits on map '%s'; to restore, type \"/xmap_restore\"", bak->name); |
| 1425 | } |
| 1426 | |
| 1427 | const char *xmapdescstring(xmap *xm, bool shortform = false) |
| 1428 | { |
no test coverage detected