summaryrefslogtreecommitdiff
path: root/tools/update
diff options
context:
space:
mode:
authorleo2000-05-18 01:45:20 +0000
committerleo2000-05-18 01:45:20 +0000
commit6da5e91bc544389c2902414c1fc41329074eca51 (patch)
treea98b7d9d3175fe08b43d36758c239b6100189c89 /tools/update
parent0798d951c3cba8acb8f75740242b3b2d9fc848be (diff)
Fixed a bug in the update code and added a .csvignore file
git-svn-id: http://svn.leocad.org/trunk@60 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'tools/update')
-rwxr-xr-xtools/update/.cvsignore4
-rwxr-xr-xtools/update/update.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/update/.cvsignore b/tools/update/.cvsignore
new file mode 100755
index 0000000..a07b458
--- /dev/null
+++ b/tools/update/.cvsignore
@@ -0,0 +1,4 @@
+Release
+Debug
+*.ncb
+*.opt
diff --git a/tools/update/update.cpp b/tools/update/update.cpp
index e933945..ee20076 100755
--- a/tools/update/update.cpp
+++ b/tools/update/update.cpp
@@ -208,6 +208,7 @@ int main(int argc, char* argv[])
if (update != 0)
{
message(&txt, "%s (%s) updated ", oldinfo[i].name, oldinfo[i].description);
+ strcpy (str, "");
if (update & UPDATE_DESCRIPTION)
{
strcat(str, "description");
@@ -236,7 +237,7 @@ int main(int argc, char* argv[])
free(newbuf);
}
- message(&txt, "\n");
+ message(&txt, "%s\n", str);
}
}
}