diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-11-15 17:56:28 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-11-15 17:56:28 -0700 |
commit | b3ad27e8991fdbd64fd4db58c0c89538b5f02959 (patch) | |
tree | db96448acc54c9893d17970c4dfffbcc95279eec /alpine/send.c | |
parent | abf5b4cfbff3150ad3340679b80dc1ff5adf6298 (diff) | |
download | alpine-b3ad27e8991fdbd64fd4db58c0c89538b5f02959.tar.xz |
* PC-Alpine: New configuration option "Aspell Dictionaries" allows a
user to choose the dictionary used to spell, in case the user
communicates in more than one language. Examples of values for the
variable are "en_US" or "de_DE", etc. Only the first 10 dictionaries
are offered.
Diffstat (limited to 'alpine/send.c')
-rw-r--r-- | alpine/send.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/alpine/send.c b/alpine/send.c index 5725b482..397d4c8c 100644 --- a/alpine/send.c +++ b/alpine/send.c @@ -1822,7 +1822,13 @@ pine_send(ENVELOPE *outgoing, struct mail_bodystruct **body, ps_global->newthread = 0; /* reset this value */ if(F_OFF(F_CANCEL_CONFIRM, ps_global)) pbf->canceltest = cancel_for_pico; - +#ifdef _WINDOWS + pbf->dict = (ps_global->VAR_DICTIONARY + && ps_global->VAR_DICTIONARY[0] + && ps_global->VAR_DICTIONARY[0][0]) + ? ps_global->VAR_DICTIONARY : NULL; + pbf->chosen_dict = -1; /* not chosen yet */ +#endif /* _WINDOWS */ pbf->alt_ed = (ps_global->VAR_EDITOR && ps_global->VAR_EDITOR[0] && ps_global->VAR_EDITOR[0][0]) ? ps_global->VAR_EDITOR : NULL; |