Mercurial > mplayer.hg
diff gui/skin/skin.c @ 34578:948bec0f8df3
Cosmetic: Change some variable names.
author | ib |
---|---|
date | Thu, 09 Feb 2012 13:43:23 +0000 |
parents | abcf26dcec6b |
children | ac6b38cd0d45 |
line wrap: on
line diff
--- a/gui/skin/skin.c Thu Feb 09 13:25:05 2012 +0000 +++ b/gui/skin/skin.c Thu Feb 09 13:43:23 2012 +0000 @@ -1030,7 +1030,7 @@ int skinRead(char *sname) { char *skinfname; - FILE *skinFile; + FILE *skinfile; unsigned char line[256]; unsigned char item[32]; unsigned char param[256]; @@ -1038,10 +1038,10 @@ skinfname = setname(skinDirInHome, sname); - if ((skinFile = fopen(skinfname, "rt")) == NULL) { + if ((skinfile = fopen(skinfname, "rt")) == NULL) { skinfname = setname(skinMPlayerDir, sname); - if ((skinFile = fopen(skinfname, "rt")) == NULL) { + if ((skinfile = fopen(skinfname, "rt")) == NULL) { mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_SKIN_SkinFileNotFound, skinfname); return -1; } @@ -1055,7 +1055,7 @@ currWinName[0] = 0; linenumber = 0; - while (fgetstr(line, sizeof(line), skinFile)) { + while (fgetstr(line, sizeof(line), skinfile)) { linenumber++; strswap(line, '\t', ' ');