summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konversation/src/blowfish/blowfish.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konversation/src/blowfish/blowfish.cpp b/konversation/src/blowfish/blowfish.cpp
index 5115501..eb34596 100644
--- a/konversation/src/blowfish/blowfish.cpp
+++ b/konversation/src/blowfish/blowfish.cpp
@@ -65,8 +65,8 @@ namespace Konversation
TQCString ckey( key.length()+2 );
TQCString result( cipher.length()+1 );
- qstrncpy(result.data(), cipher.data(), cipher.length());
- qstrncpy(ckey.data(), key.data(), key.length()+1);
+ tqstrncpy(result.data(), cipher.data(), cipher.length());
+ tqstrncpy(ckey.data(), key.data(), key.length()+1);
tmp2 = decrypt_string(ckey.data(),result.data());
const char *pfx="(e) ";
// If it's a CTCP we don't want to have the (e) interfering with the processing
@@ -97,8 +97,8 @@ namespace Konversation
TQCString result( cipher.length()+1 );
TQCString ckey( key.length()+2 );
- qstrncpy(ckey.data(), key.data(), key.length()+1);
- qstrncpy(result.data(), cipher.data(), cipher.length());
+ tqstrncpy(ckey.data(), key.data(), key.length()+1);
+ tqstrncpy(result.data(), cipher.data(), cipher.length());
tmp2 = decrypt_string(ckey.data(),result.data());
cipher = tmp2;
if(cipher.mid(0,2) == "@@")