diff options
author | maximius <none@none> | 2009-10-31 17:34:35 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-31 17:34:35 -0700 |
commit | 85d7084e85c1779201b025887c45c5d46e38038f (patch) | |
tree | 9d7c88f42cda7b73bfaeff46ef8a8afdc41a0c26 /src/shared/Database/DBCFileLoader.h | |
parent | a9d4bda2ccc51358b1e6a968648afbd094d9d8b1 (diff) |
*Fix usage of grid removal state, thanks Sisif
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/DBCFileLoader.h')
-rw-r--r-- | src/shared/Database/DBCFileLoader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/Database/DBCFileLoader.h b/src/shared/Database/DBCFileLoader.h index ef29af84bc1..a97ab4d60fa 100644 --- a/src/shared/Database/DBCFileLoader.h +++ b/src/shared/Database/DBCFileLoader.h @@ -89,11 +89,11 @@ class DBCFileLoader Record getRecord(size_t id); /// Get begin iterator over records - uint32 GetNumRows() const { return recordCount;} - uint32 GetRowSize() const { return recordSize;} + uint32 GetNumRows() const { return recordCount; } + uint32 GetRowSize() const { return recordSize; } uint32 GetCols() const { return fieldCount; } uint32 GetOffset(size_t id) const { return (fieldsOffset != NULL && id < fieldCount) ? fieldsOffset[id] : 0; } - bool IsLoaded() {return (data!=NULL);} + bool IsLoaded() { return data != NULL; } char* AutoProduceData(const char* fmt, uint32& count, char**& indexTable, uint32 sqlRecordCount, uint32 sqlHighestIndex, char *& sqlDataTable); char* AutoProduceStrings(const char* fmt, char* dataTable); static uint32 GetFormatRecordSize(const char * format, int32 * index_pos = NULL); |