summaryrefslogtreecommitdiff
path: root/protocols/IRCG/tools.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 16:22:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 16:22:13 +0000
commitd5d023f683b23fe26ddea93738cb721d532804f0 (patch)
tree21e7398686c7a5d1604d58bfb71ca4329c84be66 /protocols/IRCG/tools.cpp
parente58823d961a630eb62e60d2ccb443761ba5f1704 (diff)
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/tools.cpp')
-rw-r--r--protocols/IRCG/tools.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/IRCG/tools.cpp b/protocols/IRCG/tools.cpp
index f2424c5689..5044c12715 100644
--- a/protocols/IRCG/tools.cpp
+++ b/protocols/IRCG/tools.cpp
@@ -231,7 +231,6 @@ void __stdcall RemoveLinebreaks( CMString& Message )
Message.Delete(Message.GetLength()-2, 2);
}
-#if defined( _UNICODE )
String& __stdcall ReplaceString ( String& text, const char* replaceme, const char* newword )
{
if ( !text.IsEmpty() && replaceme != NULL) {
@@ -244,7 +243,6 @@ String& __stdcall ReplaceString ( String& text, const char* replaceme, const cha
return text;
}
-#endif
CMString& __stdcall ReplaceString ( CMString& text, const TCHAR* replaceme, const TCHAR* newword)
{
@@ -321,7 +319,6 @@ bool CIrcProto::IsChannel(const TCHAR* sName)
return ( sChannelPrefixes.Find( sName[0] ) != -1 );
}
-#if defined( _UNICODE )
String __stdcall GetWord(const char* text, int index)
{
if ( text && text[0] ) {
@@ -358,7 +355,6 @@ bool CIrcProto::IsChannel(const char* sName)
{
return ( sChannelPrefixes.Find( sName[0] ) != -1 );
}
-#endif
TCHAR* __stdcall my_strstri(const TCHAR* s1, const TCHAR* s2)
{