libpurple/protocols/silc10/wb.c

branch
release-2.x.y
changeset 33767
624cf59658dc
parent 31294
73607ab89c6f
equal deleted inserted replaced
33766:49eb0136f2ec 33767:624cf59658dc
189 return; 189 return;
190 silc_buffer_pull(&buf, ret); 190 silc_buffer_pull(&buf, ret);
191 191
192 /* Update whiteboard if its dimensions changed */ 192 /* Update whiteboard if its dimensions changed */
193 if (width != wbs->width || height != wbs->height) 193 if (width != wbs->width || height != wbs->height)
194 silcpurple_wb_set_dimensions(wb, height, width); 194 silcpurple_wb_set_dimensions(wb, width, height);
195 195
196 if (command == SILCPURPLE_WB_DRAW) { 196 if (command == SILCPURPLE_WB_DRAW) {
197 /* Parse data and draw it */ 197 /* Parse data and draw it */
198 ret = silc_buffer_unformat(&buf, 198 ret = silc_buffer_unformat(&buf,
199 SILC_STR_UI_INT(&dx), 199 SILC_STR_UI_INT(&dx),

mercurial