summaryrefslogtreecommitdiff
path: root/amiga/launch.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-09 19:56:29 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-09 19:56:29 +0000
commita84f2d22906019af40658333f2246b8b80940715 (patch)
tree651e5931253075cd2ebccf3ed1ea05f4dfabecdd /amiga/launch.c
parent855799297902ee1b63c07839fdcd0ebbfb88b8cd (diff)
downloadnetsurf-a84f2d22906019af40658333f2246b8b80940715.tar.gz
netsurf-a84f2d22906019af40658333f2246b8b80940715.tar.bz2
Fix warning
Diffstat (limited to 'amiga/launch.c')
-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;
}