diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-09-27 04:19:01 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-09-27 04:19:01 +0000 |
| commit | c81c39a0cb321c8d3ac45aa460d77451f5340aea (patch) | |
| tree | 2d4d38582a81c603ebd1e7701801ea63a7975520 /src/ui/dialog/document-properties.cpp | |
| parent | fix build on win32 with LCMS_ENABLED (diff) | |
| download | inkscape-c81c39a0cb321c8d3ac45aa460d77451f5340aea.tar.gz inkscape-c81c39a0cb321c8d3ac45aa460d77451f5340aea.zip | |
Updated allowed icc-profile names to match recent grammars. Follow-up for bug #405143
(bzr r8656)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 105d220a9..7e31b874a 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -397,7 +397,7 @@ static void sanitizeName( Glib::ustring& str ) && ((val < 'a') || (val > 'z')) && (val != '_') && (val != ':')) { - str.replace(0, 1, "_"); + str.replace(0, 1, "-"); } for (Glib::ustring::size_type i = 1; i < str.size(); i++) { char val = str.at(i); @@ -408,7 +408,7 @@ static void sanitizeName( Glib::ustring& str ) && (val != ':') && (val != '-') && (val != '.')) { - str.replace(i, 1, "_"); + str.replace(i, 1, "-"); } } } |
