summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilefont.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-12 06:26:57 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-12 06:29:52 -0700
commit73caeb4198e8321a6de37934b1120779469cae89 (patch)
treeb84044a47f45ac9306c1cb33df8f0fef35f3cd30 /crawl-ref/source/tilefont.cc
parent48a7ef0bd95493853b8481eccfda76c169d04381 (diff)
downloadcrawl-ref-73caeb4198e8321a6de37934b1120779469cae89.tar.gz
crawl-ref-73caeb4198e8321a6de37934b1120779469cae89.zip
project-wide: fix msvc compile breakage
MSVC is like a chimp with Down's syndrome. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/tilefont.cc')
-rw-r--r--crawl-ref/source/tilefont.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tilefont.cc b/crawl-ref/source/tilefont.cc
index b92a499aa9..6c2c9e2d5a 100644
--- a/crawl-ref/source/tilefont.cc
+++ b/crawl-ref/source/tilefont.cc
@@ -6,6 +6,8 @@
#include "AppHdr.h"
REVISION("$Rev$");
+#ifdef USE_TILE
+
#include "tilebuf.h"
#include "tilefont.h"
#include "defines.h"
@@ -759,3 +761,5 @@ void FTFont::store(FontBuffer &buf, float &x, float &y,
x += m_glyphs[c].advance;
}
+
+#endif