summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
commitcab063e5e304ab59f2f5604f0c0a83be371e7a3e (patch)
treea77303942b9945a9b687daba84c5e43430a4bed6 /crawl-ref/source/macro.cc
parentd2bcb779ddd4339aa77e30d1f6d80a7a98cc6b81 (diff)
downloadcrawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.tar.gz
crawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.zip
Drop double newlines where they seem to serve no purpose.
Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index 6608c9c771..384483ef09 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -1069,7 +1069,6 @@ void macro_init()
_read_macros_from(get_macro_file().c_str());
}
-
void macro_userfn(const char *keys, const char *regname)
{
// TODO: Implement.
@@ -1105,7 +1104,6 @@ void key_recorder::add_key(int key, bool reverse)
if (paused)
return;
-
if (reverse)
keys.push_front(key);
else