mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Set current encoding to ELCode if 'allowed encoding = 3'
SVN revision: 1998
This commit is contained in:
parent
cbc4eed422
commit
f7aa2d859f
@ -9019,6 +9019,8 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
enc_selected = 0;
|
enc_selected = 0;
|
||||||
else if (allowed_encoding == 1) /* select plain if the only one allowed */
|
else if (allowed_encoding == 1) /* select plain if the only one allowed */
|
||||||
enc_selected = 1;
|
enc_selected = 1;
|
||||||
|
else if (allowed_encoding == 3) /* select ELCode if only plain and ELCode allowed */
|
||||||
|
enc_selected = 0;
|
||||||
|
|
||||||
/* Overwrite from config file */
|
/* Overwrite from config file */
|
||||||
if (getcfg(lbs->name, "Default Encoding", str, sizeof(str)))
|
if (getcfg(lbs->name, "Default Encoding", str, sizeof(str)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user