summaryrefslogtreecommitdiffstats
path: root/src/templates.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates.h')
-rw-r--r--src/templates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h
index 3ac0bc90..82a94506 100644
--- a/src/templates.h
+++ b/src/templates.h
@@ -83,7 +83,7 @@ public:
}
T *GetAt(int handle){
return m_flags[handle>>8].u == handle & 0xFF ?
- (T*)&m_entries[handle>>8] : nil;
+ nil : (T*)&m_entries[handle >> 8];
}
int GetIndex(T *entry){
int i = GetJustIndex(entry);