Led matrix brightness problem

Thanks PaulRB for response.
what's wrong in that line. pls guide me.

sorry for code tag.