From f324d9938ae3e45f0d38f6fdc540af07ee267de6 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 23 Aug 2006 23:13:05 +0000 Subject: [PATCH] When editing a file, put the filename in the EDITOR.INF "dest" field. --- src/sbbs3/writemsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp index 26975e31e7..18fcb9e20f 100644 --- a/src/sbbs3/writemsg.cpp +++ b/src/sbbs3/writemsg.cpp @@ -916,7 +916,7 @@ void sbbs_t::editfile(char *fname) if(fexistcase(path)) fcopy(path, msgtmp); - editor_inf(useron.xedit,nulstr,nulstr,0,INVALID_SUB); + editor_inf(useron.xedit,fname,nulstr,0,INVALID_SUB); if(cfg.xedit[useron.xedit-1]->misc&XTRN_NATIVE) mode|=EX_NATIVE; if(cfg.xedit[useron.xedit-1]->misc&XTRN_SH) -- GitLab