mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix nickname saving in XML file to deal with utf8 characters
This makes the whole code much cleaner and simpler. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
96db56f89c
commit
df0ea07292
3 changed files with 39 additions and 23 deletions
3
dive.h
3
dive.h
|
|
@ -532,6 +532,9 @@ extern void flush_divelist(struct dive *dive);
|
|||
extern void set_dc_nickname(struct dive *dive);
|
||||
extern const char *get_dc_nickname(const char *model, uint32_t deviceid);
|
||||
extern void remember_dc(const char *model, uint32_t deviceid, const char *nickname, gboolean change_conf);
|
||||
extern gboolean dc_was_saved(struct divecomputer *dc);
|
||||
extern void mark_dc_saved(struct divecomputer *dc);
|
||||
extern void clear_dc_saved_status(void);
|
||||
|
||||
#define DIVE_ERROR_PARSE 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue