Skip to content

Commit

Permalink
grammar fix: replacing "a" by "the" takes into account "an"
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed May 28, 2011
1 parent bd2ab29 commit 9c28d06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/EffectAction.hs
Expand Up @@ -150,7 +150,8 @@ discover :: Item -> Action ()
discover i = do
state <- get
let ik = ikind i
msg = "The" ++ L.tail (objectItem state i) ++ " turns out to be "
obj = unwords $ tail $ words $ objectItem state i
msg = "The " ++ obj ++ " turns out to be "
kind = ItemKind.getIK ik
alreadyIdentified = L.length (ItemKind.jflavour kind) == 1 ||
ik `S.member` sdiscoveries state
Expand Down

0 comments on commit 9c28d06

Please sign in to comment.