Fix bad commit.
Review URL: https://codereview.appspot.com/6499078

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1272 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ProgramBinary.cpp b/src/libGLESv2/ProgramBinary.cpp
index fc7ea4e..a3afc98 100644
--- a/src/libGLESv2/ProgramBinary.cpp
+++ b/src/libGLESv2/ProgramBinary.cpp
@@ -2093,7 +2093,7 @@
                 {
                     const D3DConstant *fieldConstant = constant->structMembers[arrayIndex][field];
 
-                    std::string structIndex = (fieldConstant->elements > 1) ? ("[" + str(arrayIndex) + "]") : "";
+                    std::string structIndex = (constant->elements > 1) ? ("[" + str(arrayIndex) + "]") : "";
 
                     if (!defineUniform(infoLog, shader, fieldConstant, name + constant->name + structIndex + "."))
                     {