From 535426b0bd33a4184b7a3276920a3c1e81ac759d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sun, 10 Aug 2008 18:57:46 +0000 Subject: [PATCH] Monotone-Parent: ce328c4c9469154f07c622494c7acbc547104658 Monotone-Revision: 763d338306598097969b19cbf1bd5dd68ab512c5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-10T18:57:46 Monotone-Branch: ca.inverse.sogo --- UI/Contacts/UIxContactView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index caed199d9..75d4bd0db 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -290,7 +290,7 @@ { url = [[elements objectAtIndex: 0] value: 0]; - if (![[url lowercaseString] hasPrefix: @"http://"]) + if ([[url lowercaseString] rangeOfString: @"://"].length) url = [NSString stringWithFormat: @"http://%@", url]; data = [NSString stringWithFormat: