libscp v1 server set height twice,and not set width. so fix it.
This commit is contained in:
parent
f04756718a
commit
e655fe6a1b
@ -133,7 +133,7 @@ enum SCP_SERVER_STATES_E scp_v1s_accept(struct SCP_CONNECTION *c, struct SCP_SES
|
||||
in_uint16_be(c->in_s, cmd);
|
||||
scp_session_set_height(session, cmd);
|
||||
in_uint16_be(c->in_s, cmd);
|
||||
scp_session_set_height(session, cmd);
|
||||
scp_session_set_width(session, cmd);
|
||||
in_uint8(c->in_s, sz);
|
||||
if (0 != scp_session_set_bpp(session, sz))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user