summaryrefslogtreecommitdiffstats
path: root/dives/test20.xml
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-09-12 23:40:22 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-12 15:13:09 -0700
commit5dbf10a6d679e38b3e0a407bb6659f9bb4b8a6ce (patch)
tree591de9b46e27160910d2eb793e32937f91cd1311 /dives/test20.xml
parent1ae4b80027a97e8fbe553b980dc17ea540000d88 (diff)
downloadsubsurface-5dbf10a6d679e38b3e0a407bb6659f9bb4b8a6ce.tar.gz
various small fixes to the defaultfile model
1) For safety reasons we no longer remove the default directory after creating it. This prevents an access error (on windows) and also a couple of small exploits that could have been possible, resulting in undefined behaviour. 2) Once "default_filename" is allocated keep it until the value has to change. The value is finaly released once the program is ready to close. 3) When picking a new default file, grab the new string directly from the GSList. 4) When storing the new default file from the preferences dialog, make sure we also update "existing_filename" if needed. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Fixed some whitespace issues, made commit message and one of the comments in the code somewhat clearer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test20.xml')
0 files changed, 0 insertions, 0 deletions