summaryrefslogtreecommitdiffstats
path: root/src/Main.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-08-01 12:44:08 +0200
committertv <tv@shackspace.de>2014-08-01 12:44:08 +0200
commit2e64126b4e49be4d87faacc1f7e1b0d1f131e774 (patch)
tree8b1291412fb7a36bcc6647bddd3ab74ef6d96e68 /src/Main.hs
parente365b3883d6687617f28c730fe24ba8d710a94ea (diff)
execCommand DeleteEntireLine: fix pasto
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 785147b..240dd2a 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -331,7 +331,7 @@ execCommand DeleteEntireLine = modify $ \q ->
let s = showBuffer $ buffer q
r = register q
in q { registers = Map.insert r s
- $ Map.insert defaultRegister
+ $ Map.insert defaultRegister s
$ registers q
, buffer = emptyBuffer
, register = defaultRegister