# HG changeset patch # User ib # Date 1397047566 0 # Node ID e2c10942873bc3026cc3a46320d7678bf3e1fd12 # Parent 8132b4eef5dcc327de0cf7901851134981817487 Relocate code added in r36991. Perform the changes after mp_msg() debug output in order to not confuse the user. The changes are only internal ones. diff -r 8132b4eef5dc -r e2c10942873b gui/win32/skinload.c --- a/gui/win32/skinload.c Mon Apr 07 04:25:56 2014 +0000 +++ b/gui/win32/skinload.c Wed Apr 09 12:46:06 2014 +0000 @@ -393,12 +393,6 @@ mywidget->y = mywidget->wy = atoi(findnextstring(temp, desc, &base)); mywidget->wwidth = atoi(findnextstring(temp, desc, &base)); mywidget->wheight = atoi(findnextstring(temp, desc, &base)); - if (mywidget->bitmap[0] == NULL || mywidget->width == 0 || mywidget->height == 0) - { - mywidget->bitmap[0] = mywidget->bitmap[1]; - mywidget->width = mywidget->wwidth; - mywidget->height = mywidget->wheight; - } findnextstring(temp, desc, &base); mywidget->msg = evNone; for (i=0; iphases, mywidget->value, mywidget->wx, mywidget->wy, mywidget->wwidth, mywidget->wwidth, mywidget->msg); + if (mywidget->bitmap[0] == NULL || mywidget->width == 0 || mywidget->height == 0) + { + mywidget->bitmap[0] = mywidget->bitmap[1]; + mywidget->width = mywidget->wwidth; + mywidget->height = mywidget->wheight; + } } else if(!strncmp(desc, "pimage", 6)) {