summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: edb211e)
raw | patch | inline | side by side (parent: edb211e)
author | pjrm <pjrm@users.sourceforge.net> | |
Tue, 7 Apr 2009 04:04:51 +0000 (04:04 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Tue, 7 Apr 2009 04:04:51 +0000 (04:04 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index 891e958a535c181f0dda5c48a86f7a7d0592e28e..2ea1de143ed1390a38992b869fc98b631d9b7e63 100644 (file)
gchar *filename = g_strdup_printf ("%s-%s-%u.png", document->name, SP_OBJECT_REPR(items->data)->attribute("id"), current);
// Imagemagick is known not to handle spaces in filenames, so we replace anything but letters,
// digits, and a few other chars, with "_"
- filename = g_strcanon (filename, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.=+~$#@^&!?", '_');
+ g_strcanon(filename, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.=+~$#@^&!?", '_');
// Build the complete path by adding document base dir, if set, otherwise home dir
gchar * directory = NULL;