Mercurial > mplayer.hg
changeset 25460:3086b6d39052
Move two variable to the scope where they are indeed used.
author | ulion |
---|---|
date | Sat, 22 Dec 2007 03:45:14 +0000 |
parents | 133905f56a89 |
children | 7ef04742572c |
files | m_property.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m_property.c Fri Dec 21 11:56:18 2007 +0000 +++ b/m_property.c Sat Dec 22 03:45:14 2007 +0000 @@ -144,10 +144,10 @@ l = 0; str = e+1; } else if(str[0] == '?' && str[1] == '(' && (e = strchr(str+2,':'))) { - int pl = e-str-2; - char pname[pl+1]; lvl++; if(!skip) { + int pl = e-str-2; + char pname[pl+1]; memcpy(pname,str+2,pl); pname[pl] = 0; if(m_property_do(prop_list,pname,M_PROPERTY_GET,NULL,ctx) < 0)