# HG changeset patch # User ib # Date 1359158858 0 # Node ID fa803d807b5899a27420cc6523079dec91b7a2b2 # Parent 717a5f7995d6b206e1a2adf78a09670b0d627cf0 Cosmetic: Rename variables. They are now self-explanatory. diff -r 717a5f7995d6 -r fa803d807b58 gui/ui/actions.c --- a/gui/ui/actions.c Sat Jan 26 00:00:05 2013 +0000 +++ b/gui/ui/actions.c Sat Jan 26 00:07:38 2013 +0000 @@ -588,10 +588,10 @@ */ void uiChangeSkin(char *name) { - int prev, bprev; + int was_menu, was_playbar; - prev = guiApp.menuIsPresent; - bprev = guiApp.playbarIsPresent; + was_menu = guiApp.menuIsPresent; + was_playbar = guiApp.playbarIsPresent; mainVisible = False; @@ -604,7 +604,7 @@ /* reload menu window */ - if (prev && guiApp.menuIsPresent) { + if (was_menu && guiApp.menuIsPresent) { free(menuDrawBuffer); menuDrawBuffer = calloc(1, guiApp.menu.Bitmap.ImageSize); @@ -638,7 +638,7 @@ /* reload playbar */ - if (bprev) + if (was_playbar) uiPlaybarDone(); uiPlaybarInit();