summaryrefslogtreecommitdiff
path: root/plugins/Utils/mir_memory.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
commit50eb80e6116dda8fb97da91146092328d0950622 (patch)
treee88d09c8a73fa12dc990bb6bb4fac89388cfa8b9 /plugins/Utils/mir_memory.h
parent85b303dbbb3adf8bd060985ff3e0e5956e8a5cb9 (diff)
removed the Unicode core verification
git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils/mir_memory.h')
-rw-r--r--plugins/Utils/mir_memory.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/Utils/mir_memory.h b/plugins/Utils/mir_memory.h
index 678972805c..d62f4833f3 100644
--- a/plugins/Utils/mir_memory.h
+++ b/plugins/Utils/mir_memory.h
@@ -27,18 +27,11 @@ Boston, MA 02111-1307, USA.
static BOOL mir_is_unicode()
{
- static int is_unicode = -1;
- if (is_unicode == -1)
- {
- char ver[1024];
- CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM) sizeof(ver), (LPARAM) ver);
- is_unicode = (strstr(ver, "Unicode") != NULL ? 1 : 0);
- }
- return is_unicode;
+ return TRUE;
}
-static void * mir_alloc0(size_t size)
+static void * mir_alloc0(size_t size)
{
void * ptr = mir_alloc(size);