diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-13 22:29:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-13 22:29:27 +0000 |
commit | 95336fc1843ab1ca7e2131b66ce67635e0ac19d2 (patch) | |
tree | c51b059b139b0e222036ed8eb48920b10f1f852a /protocols/IcqOscarJ/src/i18n.cpp | |
parent | db58e3f45a11aa0b19c5d0638a20cc5d404f40a6 (diff) |
- fix for 64-bit incompatibility;
- STL removed;
- copyright update;
- massive code cleaning;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@9790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/i18n.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/i18n.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/IcqOscarJ/src/i18n.cpp b/protocols/IcqOscarJ/src/i18n.cpp index 535feebcdf..102c695e09 100644 --- a/protocols/IcqOscarJ/src/i18n.cpp +++ b/protocols/IcqOscarJ/src/i18n.cpp @@ -6,6 +6,7 @@ // Copyright © 2001-2002 Jon Keating, Richard Hughes
// Copyright © 2002-2004 Martin Öberg, Sam Kothari, Robert Rainwater
// Copyright © 2004-2010 Joe Kucera
+// Copyright © 2012-2014 Miranda NG Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -20,30 +21,23 @@ // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-//
// -----------------------------------------------------------------------------
// DESCRIPTION:
//
// Contains helper functions to convert text messages between different
// character sets.
-//
// -----------------------------------------------------------------------------
-#include "icqoscar.h"
+#include "icqoscar.h"
static BOOL bHasCP_UTF8 = FALSE;
-
void InitI18N(void)
{
CPINFO CPInfo;
-
-
bHasCP_UTF8 = GetCPInfo(CP_UTF8, &CPInfo);
}
-
-
// Returns true if the buffer only contains 7-bit characters.
BOOL __stdcall IsUSASCII(const char *pBuffer, int nSize)
{
|