summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-12-26 19:57:59 -0500
committerSamuel Bronson <naesten@gmail.com>2011-12-26 23:43:40 -0500
commit29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7 (patch)
tree6b9d9c75d41b84f516ceea1ed4d19e92ec5ab098 /crawl-ref/source/format.h
parentfa0910a69bdf73c96e1885b8e5f21ab14135a4df (diff)
downloadcrawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.tar.gz
crawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.zip
Enable printf warnings for yet more functions & fix problems identified
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r--crawl-ref/source/format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/format.h b/crawl-ref/source/format.h
index 02e70c3137..8d3dc23d7a 100644
--- a/crawl-ref/source/format.h
+++ b/crawl-ref/source/format.h
@@ -25,7 +25,7 @@ public:
std::string tostring(int start = 0, int end = -1) const;
std::string to_colour_string() const;
- void cprintf(const char *s, ...);
+ void cprintf(PRINTF(1, ));
void cprintf(const std::string &s);
void add_glyph(glyph g);
void textcolor(int color);