diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-04-23 03:32:35 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-24 00:25:33 +0200 |
commit | 7658181cf9420742228a1351ff862e597b26449b (patch) | |
tree | b2b0bb563d34a10c56f3fe3a656494b6caacfc2e /crawl-ref/source/libutil.h | |
parent | e1c58e54414f22fc0e5e489857fee80eb0bf4bc9 (diff) | |
download | crawl-ref-7658181cf9420742228a1351ff862e597b26449b.tar.gz crawl-ref-7658181cf9420742228a1351ff862e597b26449b.zip |
Warn and allow aborting when transferring a 0.8 game to 0.9.
There's no going back so the player deserves a warning. Before, we simply
made saves incompatible, but if we can keep compatibility, it can be nice.
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 434f0fa0f2..df25cb4d41 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -74,6 +74,7 @@ bool ends_with(const std::string &s, const std::string &suffix); #ifdef UNIX extern "C" int stricmp(const char *str1, const char *str2); #endif +int numcmp(const char *a, const char *b, int limit); size_t strlcpy(char *dst, const char *src, size_t n); int strwidth(const char *s); |