resources: file: Fix small typo in the compare function

This commit is contained in:
James Shubin
2016-12-12 01:50:59 -05:00
parent 0651c9de65
commit 68cc09fef2

View File

@@ -770,7 +770,7 @@ func (obj *FileRes) Compare(res Res) bool {
if obj.Name != res.Name { if obj.Name != res.Name {
return false return false
} }
if obj.path != res.Path { if obj.path != res.path {
return false return false
} }
if (obj.Content == nil) != (res.Content == nil) { // xor if (obj.Content == nil) != (res.Content == nil) { // xor