equal
deleted
inserted
replaced
1041 #------------------------------------------------------------------------------- |
1041 #------------------------------------------------------------------------------- |
1042 # Type helper functions |
1042 # Type helper functions |
1043 #------------------------------------------------------------------------------- |
1043 #------------------------------------------------------------------------------- |
1044 |
1044 |
1045 def IsStringType(self, index): |
1045 def IsStringType(self, index): |
1046 if index in (0x9, 0xA, 0xB): |
1046 if index in (0x9, 0xA, 0xB, 0xF): |
1047 return True |
1047 return True |
1048 elif 0xA0 <= index < 0x100: |
1048 elif 0xA0 <= index < 0x100: |
1049 result = self.GetEntry(index, 1) |
1049 result = self.GetEntry(index, 1) |
1050 if result is not None and result in (0x9, 0xA, 0xB): |
1050 if result is not None and result in (0x9, 0xA, 0xB): |
1051 return True |
1051 return True |