summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo2000-12-02 21:42:39 +0000
committerleo2000-12-02 21:42:39 +0000
commit693f9de1f8175ce009be3ed1c0da082c11574b90 (patch)
tree951498e8239d6a518a78df949e0e6869742574c4
parent496cc8be7151ba6671efef3bd43f4c78fd81930b (diff)
Fixed filename bug when saving untitled projects
git-svn-id: http://svn.leocad.org/trunk@172 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rw-r--r--common/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/project.cpp b/common/project.cpp
index 9ffbf97..eb2c51a 100644
--- a/common/project.cpp
+++ b/common/project.cpp
@@ -1493,7 +1493,7 @@ bool Project::DoSave(char* lpszPathName, bool bReplace)
if (iBad != -1)
newName[iBad] = 0;
- strcpy(newName, ".lcd");
+ strcat(newName, ".lcd");
}
if (!SystemDoDialog(LC_DLG_FILE_SAVE, &newName))