Clearing and refilling the code-pages list box can cause a
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 10 Jun 2009 17:42:15 +0000 (17:42 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 10 Jun 2009 17:42:15 +0000 (17:42 +0000)
commit759f419a6dae86e5862133a00546e78a4948d0cf
treeae34a9da994895d1098de70d197a0fb4902fa7c6
parentb89e7e07d274c272d37c2e2e68e73d3ffec6d5c4
Clearing and refilling the code-pages list box can cause a
re-entrant call to its handler in config.c, which destroys the
previous value in cfg->line_codepage. Therefore, preserve the right
value in an automatic variable until all the re-entrant calls have
finished.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8592 cda61777-01e9-0310-a592-d414129be87e
config.c