mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-30 02:48:10 +03:00
Fix warnings in MSVS build
This commit is contained in:
@@ -54,7 +54,7 @@ void AGS::draw_text(const char* string, bool text_wait)
|
||||
// 文字コード取得
|
||||
uint8 c = (uint8)string[p++];
|
||||
uint16 code = c;
|
||||
if(is_2byte_message(code)) {
|
||||
if(is_2byte_message(c)) {
|
||||
code = (code << 8) | (uint8)string[p++];
|
||||
}
|
||||
if(draw_hankaku) {
|
||||
|
||||
Reference in New Issue
Block a user