[GRASS-SVN] r32635 -
grass/branches/develbranch_6/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 8 03:28:38 EDT 2008
Author: martinl
Date: 2008-08-08 03:28:38 -0400 (Fri, 08 Aug 2008)
New Revision: 32635
Modified:
grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
Log:
wxGUI/vdigit: use strncpy instead of G_strncpy (merge from trunk, r32634)
Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp 2008-08-08 05:31:22 UTC (rev 32634)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp 2008-08-08 07:28:38 UTC (rev 32635)
@@ -835,7 +835,7 @@
BgMap = NULL;
if (!G__name_is_fully_qualified(bgmap, name, mapset)) {
- G_strncpy(name, bgmap, GNAME_MAX);
+ strncpy(name, bgmap, GNAME_MAX);
mapset[0] = '\0';
}
if (strcmp(G_fully_qualified_name((const char*) display->mapInfo->name, (const char*) G_mapset()),
More information about the grass-commit
mailing list