Mercurial > mplayer.hg
changeset 35799:fa803d807b58
Cosmetic: Rename variables.
They are now self-explanatory.
author | ib |
---|---|
date | Sat, 26 Jan 2013 00:07:38 +0000 |
parents | 717a5f7995d6 |
children | 6a7be705643b |
files | gui/ui/actions.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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();