nseidle/OpenLog — pull request #96 by andete (2012-02-22 16:34:47+00:00)
Title: partial fix for #92

this is the partial fix I ended up using for issue #92.
There still is one border case that is not covered but the usual cases work ok.
Fixing the remaining issue is indeed to much trouble as you also indicarted in a comment on #92.