summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-06 08:33:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-06 08:33:44 +0000
commitfbed4e49ff41a49e2b8b09e0ccc1268aeffbada1 (patch)
tree54c8ef840bbbbc2f12faf3c00700adb1b2741ff9 /plugins/TabSRMM/src/msgdlgutils.cpp
parente2a9e8224e94127cc73cf62ebfb2a8dfee078c0c (diff)
- DoTrimMessage removed and replaced with rtrim()
- contactcache.cpp moved from a linked list to a sorted list git-svn-id: http://svn.miranda-ng.org/main/trunk@5598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index b42674cd82..93ac9d56ff 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -1198,22 +1198,6 @@ BOOL TSAPI DoRtfToTags(TCHAR * pszText, const TWindowData *dat)
}
/*
- * trims the output from DoRtfToTags(), removes trailing newlines and whitespaces...
- */
-
-void TSAPI DoTrimMessage(TCHAR *msg)
-{
- size_t iLen = lstrlen(msg);
- size_t i = iLen;
-
- while (i && (msg[i-1] == '\r' || msg[i-1] == '\n') || msg[i-1] == ' ') {
- i--;
- }
- if (i < iLen)
- msg[i] = '\0';
-}
-
-/*
* retrieve both buddys and my own UIN for a message session and store them in the message window *dat
* respects metacontacts and uses the current protocol if the contact is a MC
*/