aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/window/libkviwindow.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-27 01:30:53 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-27 01:30:53 +0000
commit88dbe3435e6fad9aa52406ce10f878b7c583dcb7 (patch)
treeb8310ee692b7d52309aa52ae6eb0c8313aaddd26 /src/modules/window/libkviwindow.cpp
parentMore renaming & cleanup. (diff)
downloadKVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.tar.gz
KVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.tar.bz2
KVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.zip
Kill system memmove, ix86 asm and kvi_memmove stuff: modern gcc coupled to glibc can do better these times.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5235 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/window/libkviwindow.cpp')
-rw-r--r--src/modules/window/libkviwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
index 0a585fb01..5b7bf103c 100644
--- a/src/modules/window/libkviwindow.cpp
+++ b/src/modules/window/libkviwindow.cpp
@@ -36,7 +36,7 @@
#include "kvi_input.h"
#include "kvi_iconmanager.h"
#include "kvi_modulemanager.h"
-#include "kvi_memmove.h"
+#include "KviMemory.h"
#include "KviMemory.h"
#include "kvi_mdichild.h"
#include "kvi_channel.h"
@@ -1494,7 +1494,7 @@ static bool initializeCryptEngine(KviCryptEngine * eng,KviCString &szEncryptKey,
if(encKeyLen > 0)
{
encKey = (char *)KviMemory::allocate(encKeyLen);
- kvi_memmove(encKey,tmpKey,encKeyLen);
+ KviMemory::move(encKey,tmpKey,encKeyLen);
KviCString::freeBuffer(tmpKey);
} else {
szError = __tr2qs("The encrypt key wasn't a valid hexadecimal string");
@@ -1508,7 +1508,7 @@ static bool initializeCryptEngine(KviCryptEngine * eng,KviCString &szEncryptKey,
if(decKeyLen > 0)
{
decKey = (char *)KviMemory::allocate(decKeyLen);
- kvi_memmove(decKey,tmpKey,decKeyLen);
+ KviMemory::move(decKey,tmpKey,decKeyLen);
KviCString::freeBuffer(tmpKey);
} else {
szError = __tr2qs("The decrypt key wasn't a valid hexadecimal string");