summaryrefslogtreecommitdiff
path: root/ufo/ufo-resources.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufo/ufo-resources.c')
-rw-r--r--ufo/ufo-resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/ufo-resources.c b/ufo/ufo-resources.c
index 91ea9bb..6080f96 100644
--- a/ufo/ufo-resources.c
+++ b/ufo/ufo-resources.c
@@ -457,7 +457,7 @@ escape_device_name (gchar *name)
while (*tmp) {
gchar c = *tmp;
- if (c == ' ')
+ if (c == ' ' || c == '(' || c == ')' || c == '-' || c == '@' || c == '.')
*tmp = '_';
else
*tmp = g_ascii_toupper (c);