diff options
author | erihel <erihel@gmail.com> | 2012-09-27 23:42:52 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2012-09-27 23:42:52 +0200 |
commit | 9f4c1454dc75d697b43a634927ebcfd6186a4e93 (patch) | |
tree | db35ada4b01c6d0880c9d96252c15c63c7da6c71 /src/ui/edit.h | |
parent | 00acce25d1dc050367c6b85a95dc6c0b4c9f0b18 (diff) | |
download | colobot-9f4c1454dc75d697b43a634927ebcfd6186a4e93.tar.gz colobot-9f4c1454dc75d697b43a634927ebcfd6186a4e93.tar.bz2 colobot-9f4c1454dc75d697b43a634927ebcfd6186a4e93.zip |
* Ingame help should now display correctly
Diffstat (limited to 'src/ui/edit.h')
-rw-r--r-- | src/ui/edit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/edit.h b/src/ui/edit.h index c5c6cf6..7414372 100644 --- a/src/ui/edit.h +++ b/src/ui/edit.h @@ -35,7 +35,7 @@ #include "common/iman.h" #include "common/restext.h" -#include <vector> +#include <set> @@ -240,7 +240,7 @@ protected: int m_maxChar; // max length of the buffer m_text char* m_text; // text (without zero terminator) - std::vector<Gfx::FontMetaChar> m_format; // format characters + std::map<unsigned int, Gfx::FontMetaChar> m_format; // format characters int m_len; // length used in m_text int m_cursor1; // offset cursor int m_cursor2; // offset cursor |