mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Parse He when importing from DM5
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
fb2638b3fb
commit
ec40a25007
1 changed files with 4 additions and 0 deletions
|
@ -2248,6 +2248,10 @@ extern int dm5_gaschange(void *handle, int columns, char **data, char **column)
|
|||
strcpy(cur_event.name, "gaschange");
|
||||
cur_event.value = lrint(atof(data[1]));
|
||||
}
|
||||
|
||||
/* He part of the mix */
|
||||
if (data[2])
|
||||
cur_event.value += lrint(atof(data[2])) << 16;
|
||||
event_end();
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue