summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
commitc992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 (patch)
tree697bdbf38a8a1f6b828a8bfbd08a478e19a82c6b /protocols/IRCG
parentf616294363c642d138f9dc0ef6eceae639e2434c (diff)
- microkernel addded;
- version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/irc.h1
-rw-r--r--protocols/IRCG/tools.cpp12
2 files changed, 0 insertions, 13 deletions
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 ) {