mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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");
|
strcpy(cur_event.name, "gaschange");
|
||||||
cur_event.value = lrint(atof(data[1]));
|
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();
|
event_end();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue