diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2009-04-07 04:04:51 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2009-04-07 04:04:51 +0000 |
| commit | 6ccd8075660ecc5978cbf3821ad016a660c21d83 (patch) | |
| tree | 4ca40ff241de87d84ea8f7dfe5a16793167fb8a6 /src/selection-chemistry.cpp | |
| parent | functional noop: xml/repr-io.cpp: (sp_repr_save_writer): Mark static. Slight... (diff) | |
| download | inkscape-6ccd8075660ecc5978cbf3821ad016a660c21d83.tar.gz inkscape-6ccd8075660ecc5978cbf3821ad016a660c21d83.zip | |
functional noop: Clarify g_strcanon behaviour by not redundantly reassigning back to argument.
(bzr r7642)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 891e958a5..2ea1de143 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2519,7 +2519,7 @@ sp_selection_create_bitmap_copy (SPDesktop *desktop) 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; |
