Astyle formatting

This commit is contained in:
codestation
2013-12-15 09:01:04 -04:30
parent e68f01c858
commit c4eaad6b8c
7 changed files with 10 additions and 12 deletions

View File

@@ -25,7 +25,8 @@ SfoReader::SfoReader()
{
}
bool SfoReader::load(const QString &path) {
bool SfoReader::load(const QString &path)
{
QFile file(path);
if(file.open(QIODevice::ReadOnly)) {
data = file.readAll();
@@ -37,7 +38,8 @@ bool SfoReader::load(const QString &path) {
return false;
}
const char *SfoReader::value(const char *key, const char *defaultValue) {
const char *SfoReader::value(const char *key, const char *defaultValue)
{
const char *base_key = key_offset + header->key_offset;
for(uint i = 0; i < header->pair_count; i++) {
const char *curr_key = base_key + index[i].key_offset;