summaryrefslogtreecommitdiff
path: root/MLKRoot.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKRoot.m')
-rw-r--r--MLKRoot.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/MLKRoot.m b/MLKRoot.m
index 80ba4ab..8add77e 100644
--- a/MLKRoot.m
+++ b/MLKRoot.m
@@ -425,8 +425,11 @@ static id truify (BOOL value)
suffix = MLKPrintToString(x);
}
else
- [NSException raise:@"MLKTypeError"
- format:@"%@ is not of type (OR INTEGER STRING).", x];
+ {
+ [NSException raise:@"MLKTypeError"
+ format:@"%@ is not of type (OR INTEGER STRING).", x];
+ return nil;
+ }
}
else
{