summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/launch.c b/amiga/launch.c
index 072ba6883..c3f993b28 100755
--- a/amiga/launch.c
+++ b/amiga/launch.c
@@ -104,8 +104,8 @@ static BOOL ami_openurl_check_list(struct MinList *list, nsurl *url)
{
nnode=(struct ami_protocol *)GetSucc((struct Node *)node);
- if (lwc_string_isequal(url_scheme, node->protocol,
- &match) == NSERROR_OK && match == true) {
+ if ((lwc_string_isequal(url_scheme, node->protocol,
+ &match) == lwc_error_ok) && (match == true)) {
lwc_string_unref(url_scheme);
return TRUE;
}