mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
[svn r7462] Fixed a subtle bug in cavestats.c which causes surveys with only 2 stations to get mishandled.
This commit is contained in:
@@ -266,7 +266,7 @@ main(int argc, char **argv)
|
||||
if(c_stns == 2)
|
||||
{
|
||||
if (!compact_output) printf("Horizontal extent = %.2fm (from %s to %s)\n", planlen, stns[0].name, stns[1].name);
|
||||
else printf("%.2f\t%.2f\t%.2f", planlen, umost.pt.z-lmost.pt.z, planlen);
|
||||
else printf("%.2f\t%.2f\t%.2f", totlen, umost.pt.z-lmost.pt.z, planlen);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user