aboutsummaryrefslogtreecommitdiff
path: root/OSC/OSC-pattern-match.c
diff options
context:
space:
mode:
Diffstat (limited to 'OSC/OSC-pattern-match.c')
-rw-r--r--OSC/OSC-pattern-match.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/OSC/OSC-pattern-match.c b/OSC/OSC-pattern-match.c
index 5e8226d..39dce87 100644
--- a/OSC/OSC-pattern-match.c
+++ b/OSC/OSC-pattern-match.c
@@ -56,7 +56,13 @@ Boolean PatternMatch (const char * pattern, const char * test) {
// printf("OSC-pattern-match.c: pattern: %s, test: %s\n", pattern, test);
theWholePattern = pattern;
+
+ // post("pattern: %s, test: %s", pattern, test);
+ if(test[0] == '*') {
+ return TRUE;
+ }
+
if (pattern == 0 || pattern[0] == 0) {
return test[0] == 0;
}