[GRASS-SVN] r45110 - grass/trunk/lib/manage
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 20 14:24:12 EST 2011
Author: mmetz
Date: 2011-01-20 11:24:12 -0800 (Thu, 20 Jan 2011)
New Revision: 45110
Modified:
grass/trunk/lib/manage/option.c
grass/trunk/lib/manage/read_list.c
Log:
bugfix
Modified: grass/trunk/lib/manage/option.c
===================================================================
--- grass/trunk/lib/manage/option.c 2011-01-20 18:32:13 UTC (rev 45109)
+++ grass/trunk/lib/manage/option.c 2011-01-20 19:24:12 UTC (rev 45110)
@@ -126,7 +126,7 @@
strcat(str, list[n].text);
}
else {
- strcat(str, list[n].alias);
+ strcpy(str, list[n].alias);
strcat(str, ";");
strcat(str, list[n].text);
}
Modified: grass/trunk/lib/manage/read_list.c
===================================================================
--- grass/trunk/lib/manage/read_list.c 2011-01-20 18:32:13 UTC (rev 45109)
+++ grass/trunk/lib/manage/read_list.c 2011-01-20 19:24:12 UTC (rev 45110)
@@ -40,7 +40,7 @@
.
\endcode
- \param chech_if_empty TRUE for check if element is empty
+ \param check_if_empty TRUE for check if element is empty
\return 0
\return 1
More information about the grass-commit
mailing list