View Single Post
Old 11-17-2008, 09:37 AM   #11
Leep
Guru
Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.Leep ought to be getting tired of karma fortunes by now.
 
Leep's Avatar
 
Posts: 739
Karma: 1018859
Join Date: Jun 2008
Location: Near Seattle
Device: kindle1, K3, K3G (thanks MR), iTouch, Kindle Touch
Use the Python WinEditor and make the following changes to your script where you see:

flags >>= 1
[Tab]while flags:
[Tab][Tab]if flags & 1:
[Tab][Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab][Tab]flags >>= 1
[Tab}return num

It should read:
flags >>= 1
#[Tab]while flags:
[Tab]if flags & 1:
[Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab]flags >>= 1
[Tab]return num


cheers

Last edited by Leep; 11-17-2008 at 09:41 AM.
Leep is offline   Reply With Quote