New user external editor setup

This commit is contained in:
Michiel Broek
2005-08-11 20:20:22 +00:00
parent d07548b16a
commit c303c4846d
3 changed files with 9 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
* BBS and unix accounts.
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -102,7 +102,12 @@ int newuser()
FullName = calloc(81, sizeof(char));
usrconfig.iLanguage = iLang;
usrconfig.MsgEditor = FSEDIT;
/* Set default editor */
if (strlen(CFG.externaleditor))
exitinfo.MsgEditor = EXTEDIT;
else
usrconfig.MsgEditor = FSEDIT;
do {