DFortune

Unix fortune-cookie parser written in D
git clone git://xatko.vsos.ethz.ch/DFortune.git
Log | Files | Refs

commit d149e28676da2eac0adaf5dcb882c2f9c92bf6c7
parent 6f8177a24c3c62eb4d23b6d84a67c788fad5f203
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Sun,  9 Aug 2015 14:53:51 +0200

Reuse opIndex in Fortunes aggregate.

Diffstat:
dfortune.d | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dfortune.d b/dfortune.d @@ -218,7 +218,7 @@ struct Fortunes{ i-=f.length; } else{ - return f.readFortune(cast(uint)i); + return f.opIndex(i); } } assert(0);