--- a/mojoshader.c Sat May 10 16:13:29 2008 -0400 +++ b/mojoshader.c Sat May 10 21:50:21 2008 -0400 @@ -2330,6 +2330,7 @@ else if (usage == MOJOSHADER_USAGE_COLOR) { + index_str[0] = '\0'; // no explicit number. if (index == 0) usage_str = "gl_Color"; else if (index == 1)