瀏覽代碼

partly revert https://trac.osgeo.org/grass/changeset/67057

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67064 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 年之前
父節點
當前提交
96ffb7260c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/vector/dglib/examples/components.c

+ 2 - 2
lib/vector/dglib/examples/components.c

@@ -112,8 +112,8 @@ int main(int argc, char **argv)
 
 	if (dglGet_EdgeCount(&agraphComponents[i]) > 0) {
 	    if (pszGraphOut) {
-		G_snprintf(szGraphOutFilename, sizeof(szGraphOutFilename),
-                           "%s-component-%d", pszGraphOut, i);
+		snprintf(szGraphOutFilename, sizeof(szGraphOutFilename),
+                         "%s-component-%d", pszGraphOut, i);
 		printf("[write <%s>...", szGraphOutFilename);
 		fflush(stdout);
 		if ((fd =