summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/encrypt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-18 14:11:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-18 14:11:28 +0000
commit4bc88d46fa9859615521f436511d4f102f20eb67 (patch)
tree3a6ee91b74be2a4f5e60520885aa601c74bc3fa7 /plugins/Dbx_mmap_SA/encrypt.cpp
parent4f8f5427687792492ee49e06cafb9bd50cfc53d4 (diff)
databases are still static, but are controlled via classes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1014 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/encrypt.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/encrypt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dbx_mmap_SA/encrypt.cpp b/plugins/Dbx_mmap_SA/encrypt.cpp
index a42d79eae2..0837e5cbd8 100644
--- a/plugins/Dbx_mmap_SA/encrypt.cpp
+++ b/plugins/Dbx_mmap_SA/encrypt.cpp
@@ -32,16 +32,16 @@ void Encrypt(char*msg,BOOL up)
int jump;
if (up)
{
- jump=5;
+ jump = 5;
}
else
{
- jump=-5;
+ jump = -5;
}
- for (i=0;msg[i];i++)
+ for (i = 0;msg[i];i++)
{
- msg[i]=msg[i]+jump;
+ msg[i] = msg[i]+jump;
}
}