Fixed issues with initial commit

This commit is contained in:
pasdam
2018-03-23 11:18:06 +01:00
committed by Jonathan White
parent ad4423d226
commit b4d806ad41
17 changed files with 43 additions and 51 deletions

View File

@@ -28,7 +28,7 @@
#include <QBuffer>
#include <QFile>
#define UUID_LENGHT 16
#define UUID_LENGTH 16
/**
* @param version KDBX version
@@ -1099,7 +1099,7 @@ QUuid KdbxXmlReader::readUuid()
if (uuidBin.isEmpty()) {
return QUuid();
}
if (uuidBin.length() != UUID_LENGHT) {
if (uuidBin.length() != UUID_LENGTH) {
if (m_strictMode) {
raiseError(tr("Invalid uuid value"));
}