From b1389eac9940c710ff9c892fe4593f02635164ec Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 27 Jun 2013 16:23:12 -0700 Subject: [PATCH] xup: from Marc, added missing bgcolor --- xup/xup.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xup/xup.c b/xup/xup.c index 27063366..5320a3c9 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -534,6 +534,7 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s) int width; int height; int fgcolor; + int bgcolor; int opcode; char *bmpdata; char cur_data[32 * (32 * 3)]; @@ -594,6 +595,10 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s) in_uint32_le(s, fgcolor); rv = mod->server_set_fgcolor(mod, fgcolor); break; + case 13: /* server_set_bgcolor */ + in_uint32_le(s, bgcolor); + rv = mod->server_set_bgcolor(mod, bgcolor); + break; case 14: in_uint16_le(s, opcode); rv = mod->server_set_opcode(mod, opcode);