williballenthin/python-registry — Issue #13: Bug in shellbags.py FILEITEM long name calculation
Author: williballenthin
Created: 2011-11-09 20:17:42+00:00
State: open

def long_name_size(self):
if self._off_long_name_size:
return self._off_long_name_size <--------------------
elif self._off_long_name:
return len(self.long_name()) + 2
else:
return 0