diff options
author | Samuel Bronson <naesten@gmail.com> | 2011-12-26 19:57:59 -0500 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2011-12-26 23:43:40 -0500 |
commit | 29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7 (patch) | |
tree | 6b9d9c75d41b84f516ceea1ed4d19e92ec5ab098 /crawl-ref/source/format.h | |
parent | fa0910a69bdf73c96e1885b8e5f21ab14135a4df (diff) | |
download | crawl-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.h | 2 |
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); |