From c992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 16:50:14 +0000 Subject: - microkernel addded; - version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/irc.h | 1 - protocols/IRCG/tools.cpp | 12 ------------ 2 files changed, 13 deletions(-) (limited to 'protocols/IRCG') diff --git a/protocols/IRCG/irc.h b/protocols/IRCG/irc.h index 823efec68e..41591b388a 100644 --- a/protocols/IRCG/irc.h +++ b/protocols/IRCG/irc.h @@ -727,7 +727,6 @@ const TCHAR* __stdcall GetWordAddress(const TCHAR* text, int index); void __stdcall RemoveLinebreaks( CMString& Message ); TCHAR* __stdcall my_strstri(const TCHAR *s1, const TCHAR *s2) ; TCHAR* __stdcall DoColorCodes (const TCHAR* text, bool bStrip, bool bReplacePercent); -char* __stdcall rtrim( char *string ); String& __stdcall ReplaceString (String& text, const char* replaceme, const char* newword); String __stdcall GetWord(const char* text, int index); diff --git a/protocols/IRCG/tools.cpp b/protocols/IRCG/tools.cpp index d9218b2b42..83ac7ae60f 100644 --- a/protocols/IRCG/tools.cpp +++ b/protocols/IRCG/tools.cpp @@ -149,18 +149,6 @@ void CIrcProto::IrcHookEvent( const char* szEvent, IrcEventFunc pFunc ) ::HookEventObj( szEvent, ( MIRANDAHOOKOBJ )*( void** )&pFunc, this ); } -char* __stdcall rtrim( char *string ) -{ - char* p = string + strlen( string ) - 1; - while ( p >= string ) { - if ( *p != ' ' && *p != '\t' && *p != '\n' && *p != '\r' ) - break; - - *p-- = 0; - } - return string; -} - CMString __stdcall GetWord(const TCHAR* text, int index) { if ( text && *text ) { -- cgit v1.2.3