summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/PatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-30 20:53:10 +0000
committerDavid Robillard <d@drobilla.net>2007-03-30 20:53:10 +0000
commitc27f759594a713c8c65ee6637aafa2d02b52bd8d (patch)
tree46e4d2a8266030f97802bc947686463eaaeac48d /src/progs/ingenuity/PatchWindow.cpp
parent05ec343c42e99611ac1ff8c45b73a3e1dc4e0941 (diff)
downloadingen-c27f759594a713c8c65ee6637aafa2d02b52bd8d.tar.gz
ingen-c27f759594a713c8c65ee6637aafa2d02b52bd8d.tar.bz2
ingen-c27f759594a713c8c65ee6637aafa2d02b52bd8d.zip
Serialization fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@379 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/PatchWindow.cpp')
-rw-r--r--src/progs/ingenuity/PatchWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/ingenuity/PatchWindow.cpp b/src/progs/ingenuity/PatchWindow.cpp
index 556b690d..7556689b 100644
--- a/src/progs/ingenuity/PatchWindow.cpp
+++ b/src/progs/ingenuity/PatchWindow.cpp
@@ -281,8 +281,8 @@ PatchWindow::event_save_as()
if (result == Gtk::RESPONSE_OK) {
string filename = dialog.get_filename();
- if (filename.length() < 11 || filename.substr(filename.length()-10) != ".ingen.ttl")
- filename += ".ingen.ttl";
+ if (filename.length() < 7 || filename.substr(filename.length()-6) != ".ingen")
+ filename += ".ingen";
bool confirm = false;
std::fstream fin;