diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-22 16:38:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-22 16:38:24 -0700 |
commit | c0adfdc41bc5bea580f85a29dc073678fcb617e8 (patch) | |
tree | a53cf9fac37cd9bad541178b75afdb5974bfdd60 /libdivecomputer.h | |
parent | 15463fdeb26ed1b5fdff62e4721a6dbbc507cefc (diff) | |
download | subsurface-c0adfdc41bc5bea580f85a29dc073678fcb617e8.tar.gz |
Fix progress bar during libdivecomputer imports
As reported by Mauro Dreissig, the progress bar doesn't work and causes
a SIGSEGV due to a missing allocation. The code broke when Dirk
separated out the GUI from the core code, and I hadn't tried
divecomputer downloads since.
Reported-by: Mauro Dreissig <mukadr@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 205f28e7c..abb09e2c4 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -22,7 +22,7 @@ typedef struct device_data_t { device_type_t type; const char *name, *devname; - progressbar_t *progress; + progressbar_t progress; device_devinfo_t devinfo; device_clock_t clock; } device_data_t; |