summaryrefslogtreecommitdiff
path: root/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities.cpp')
-rw-r--r--utilities.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/utilities.cpp b/utilities.cpp
index 07623e1..7d0b241 100644
--- a/utilities.cpp
+++ b/utilities.cpp
@@ -261,22 +261,6 @@ void storeOutput(HANDLE ahandle, string *output)
} while (available>0);
}
-void cp866_to_cp1251(string *str)
-{
- string::iterator p;
- for(p = str->begin(); p != str->end(); p++)
- {
- if(*p > -129 && *p < -80)
- *p += 64;
- else if(*p > -33 && *p < -16)
- *p += 16;
- else if(*p == -16)
- *p -= 72;
- else if(*p == -17)
- *p -= 57;
- }
-}
-
void HistoryLog(HANDLE hContact, char *data, int event_type, int flags)
{
DBEVENTINFO Event = {0};