diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-09-07 13:49:31 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-09-07 13:49:31 +0200 |
commit | f99166ed9de3901010fe6544640203d690b79776 (patch) | |
tree | 1b7a740a1fab0068489d40c67369e23ce68319e3 /crawl-ref/source/view.h | |
parent | f6e9619284a9e56d9a2068c38a553d9a15cf9e1a (diff) | |
download | crawl-ref-f99166ed9de3901010fe6544640203d690b79776.tar.gz crawl-ref-f99166ed9de3901010fe6544640203d690b79776.zip |
Fix glyph truncation on platforms with 16 bit wchar_t.
This can matter only for cygwin, though.
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index 0710655271..b6713f7eac 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -18,7 +18,7 @@ bool mon_enemies_around(const monster* mons); void seen_monsters_react(); void find_features(const std::vector<coord_def>& features, - wchar_t feature, std::vector<coord_def> *found); + ucs_t feature, std::vector<coord_def> *found); bool magic_mapping(int map_radius, int proportion, bool suppress_msg, bool force = false, bool deterministic = false, @@ -26,7 +26,7 @@ bool magic_mapping(int map_radius, int proportion, bool suppress_msg, void reautomap_level(); void fully_map_level(); -bool is_feature(wchar_t feature, const coord_def& where); +bool is_feature(ucs_t feature, const coord_def& where); std::string screenshot(); |