[Liblas-commits] r1155 - trunk/apps
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Mar 30 13:09:13 EDT 2009
Author: hobu
Date: Mon Mar 30 13:09:13 2009
New Revision: 1155
URL: http://liblas.org/changeset/1155
Log:
fix #120, support 'comma' as a separator in las2txt
Modified:
trunk/apps/las2txt.c
Modified: trunk/apps/las2txt.c
==============================================================================
--- trunk/apps/las2txt.c (original)
+++ trunk/apps/las2txt.c Mon Mar 30 13:09:13 2009
@@ -147,7 +147,8 @@
{
i++;
- if (strcmp(argv[i],"komma") == 0)
+ if (strcmp(argv[i],"komma") == 0 ||
+ strcmp(argv[i],"comma") == 0 )
{
separator_sign = ',';
}
@@ -196,7 +197,8 @@
)
{
i++;
- if (strcmp(argv[i],"komma") == 0)
+ if (strcmp(argv[i],"komma") == 0 ||
+ strcmp(argv[i],"comma") == 0 )
{
header_comment_sign = ',';
}
More information about the Liblas-commits
mailing list