Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/src/window_message.cpp Sat Nov 15 09:34:34 2014 +0000
- +++ b/src/window_message.cpp Sat Nov 15 22:11:18 2014 +0000
- @@ -43,6 +43,9 @@
- const int Window_Message::speed_table[21] = {0, 0, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6,
- 7, 7, 8, 8, 9, 9, 10, 10, 11};
- +// C4428 is nonsense
- +#pragma warning (disable : 4428)
- +
- Window_Message::Window_Message(int ix, int iy, int iwidth, int iheight) :
- Window_Selectable(ix, iy, iwidth, iheight),
- contents_x(0), contents_y(0), line_count(0), text(""),
- @@ -57,9 +60,9 @@
- visible = false;
- SetZ(10000);
- - escape_char = (Player::escape_symbol == "\u00A5" ? L'Â¥' :
- - (Player::escape_symbol == "\u20A9" ? L'â©' :
- - '\\'));
- + escape_char = (Player::escape_symbol == "\xC2\xA5" ? L'\u00A5' :
- + (Player::escape_symbol == "\xE2\x82\xA9" ? L'\u20A9' :
- + L'\\'));
- active = false;
- index = -1;
- text_color = Font::ColorDefault;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement