Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2010-09-14 01:16:28 +0400
committerFelix Geyer <debfx@fobos.de>2010-09-14 01:16:28 +0400
commit26de957a987b8764b91a0d416b88b8d5c7124ee4 (patch)
tree3be588c390300acadb4e1527654717aba4acb873 /src
parent6a2034fa248385d1d1637d4c3444045e50e0c5f5 (diff)
Indentation and variable naming fixes.
Diffstat (limited to 'src')
-rw-r--r--src/core/Database.cpp6
-rw-r--r--src/crypto/Crypto.cpp6
-rw-r--r--src/crypto/Crypto.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/core/Database.cpp b/src/core/Database.cpp
index fb48c8cf3..be8f5c5fe 100644
--- a/src/core/Database.cpp
+++ b/src/core/Database.cpp
@@ -91,9 +91,9 @@ Group* Database::recFindGroup(const Uuid& uuid, Group* group)
return group;
Q_FOREACH (Group* child, group->children()) {
- Group* result = recFindGroup(uuid, child);
- if (result)
- return result;
+ Group* result = recFindGroup(uuid, child);
+ if (result)
+ return result;
}
return 0;
diff --git a/src/crypto/Crypto.cpp b/src/crypto/Crypto.cpp
index 8bba447c9..9b8a79f20 100644
--- a/src/crypto/Crypto.cpp
+++ b/src/crypto/Crypto.cpp
@@ -21,7 +21,7 @@
#include <gcrypt.h>
-bool Crypto::m_initiated(false);
+bool Crypto::m_initalized(false);
int gcry_qt_mutex_init(void** p_sys)
{
@@ -63,7 +63,7 @@ Crypto::Crypto()
void Crypto::init()
{
- if (m_initiated) {
+ if (m_initalized) {
return;
}
@@ -71,7 +71,7 @@ void Crypto::init()
gcry_check_version(0);
gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
- m_initiated = true;
+ m_initalized = true;
}
bool Crypto::selfTest()
diff --git a/src/crypto/Crypto.h b/src/crypto/Crypto.h
index fb2b0e75a..439c23230 100644
--- a/src/crypto/Crypto.h
+++ b/src/crypto/Crypto.h
@@ -26,7 +26,7 @@ public:
private:
Crypto();
- static bool m_initiated;
+ static bool m_initalized;
};
#endif // KEEPASSX_CRYPTO_H