Mercurial > mplayer.hg
changeset 35790:f229582bf4e5
Cosmetic: Rename variable.
author | ib |
---|---|
date | Fri, 25 Jan 2013 15:42:36 +0000 |
parents | 9fdc3e22063f |
children | eda12497788f |
files | gui/interface.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Fri Jan 25 15:39:18 2013 +0000 +++ b/gui/interface.c Fri Jan 25 15:42:36 2013 +0000 @@ -77,7 +77,7 @@ */ void guiInit(void) { - int i; + int r; plItem *playlist; mp_msg(MSGT_GPLAYER, MSGL_V, "GUI init.\n"); @@ -125,16 +125,16 @@ if (!skinName) skinName = strdup("default"); - i = skinRead(skinName); + r = skinRead(skinName); - if (i == -1 && strcmp(skinName, "default") != 0) { + if (r == -1 && strcmp(skinName, "default") != 0) { mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_SKIN_SKINCFG_SelectedSkinNotFound, skinName); skinName = strdup("default"); - i = skinRead(skinName); + r = skinRead(skinName); } - switch (i) { + switch (r) { case -1: gmp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_SKIN_SKINCFG_SkinNotFound, skinName); mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);