Fixed a minor typo in the comment near _mesa_copy_instructions.
authorOliver McFadden <z3ro.geek@gmail.com>
Thu, 15 Mar 2007 21:57:31 +0000 (21:57 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Thu, 15 Mar 2007 21:57:31 +0000 (21:57 +0000)
src/mesa/shader/program.c
src/mesa/shader/program.h

index 3d5f648191a6133e99cc63af0b888342898aac58..98daf7062f2854adb5ef9d8acd34c0615b513bef 100644 (file)
@@ -1481,14 +1481,14 @@ _mesa_realloc_instructions(struct prog_instruction *oldInst,
 }
 
 /**
- * Copy an narray of program instructions.
+ * Copy an array of program instructions.
  * \param dest  pointer to destination.
  * \param src  pointer to source.
  * \param n  number of instructions to copy.
  * \return pointer to destination.
  */
 struct prog_instruction *
-_mesa_copy_instructions(struct prog_instruction *dest,
+_mesa_copy_instructions (struct prog_instruction *dest,
                         const struct prog_instruction *src, GLuint n)
 {
   return _mesa_memcpy (dest, src, n * sizeof (struct prog_instruction));
index 6f5013df358d740495ab037c344a0226c21cec3f..7746289621b334be51cd7931e83bf0961da85caa 100644 (file)
@@ -129,7 +129,7 @@ _mesa_realloc_instructions(struct prog_instruction *oldInst,
                            GLuint numOldInst, GLuint numNewInst);
 
 extern struct prog_instruction *
-_mesa_copy_instructions(struct prog_instruction *dest,
+_mesa_copy_instructions (struct prog_instruction *dest,
                         const struct prog_instruction *src, GLuint n);
 
 /**