From b21658d21b3e5d2f32f0f6748aae6372c22506cd Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 9 Jan 2006 21:50:08 +0000 Subject: [PATCH] add URL support for news: and ed2k:// --- golded3/gectnr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/golded3/gectnr.cpp b/golded3/gectnr.cpp index 12c91d3..131182c 100644 --- a/golded3/gectnr.cpp +++ b/golded3/gectnr.cpp @@ -68,6 +68,10 @@ const char *url_begin(const char *ptr) { return ptr+4; if(strnieql(ptr, "mailto:", 7)) return ptr+7; + if(strnieql(ptr, "news:", 5)) + return ptr+5; + if(strnieql(ptr, "ed2k://", 7)) + return ptr+7; return NULL; }