$format_time treats ( and ) as special chars
[monky] / src / timeinfo.c
index df0a2a2..1cb7628 100644 (file)
@@ -229,7 +229,9 @@ void print_format_time(struct text_object *obj, char *p, unsigned int p_max_size
                                                        }
                                                        break;
                                                case '\\':
-                                                       p[output_length] = '\\';
+                                               case '(':
+                                               case ')':
+                                                       p[output_length] = *currentchar;
                                                        output_length++;
                                                        break;
                                                default: