Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Forgot to commit changes to enumreader.go

  • Loading branch information...
commit 868b228d0456391f8c2e3ba0f633a100e49a3386 1 parent 1a11290
ccherng ccherng authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enumreader.go
2  enumreader.go
View
@@ -58,7 +58,7 @@ func ReadEnums(r io.Reader) (EnumCategories, error) {
//fmt.Printf("%v %v\n", enum[1], enum[2])
if strings.HasPrefix(enum[2], "GL_") {
//fmt.Printf("%s %s\n", enum[1], enum[2])
- categories[currentCategory][enum[1]] = enum[2][3:]
+ categories[currentCategory][enum[1]] = categories[currentCategory][enum[2][3:]]
} else if strings.HasSuffix(enum[2], "u") {
categories[currentCategory][enum[1]] = enum[2][:len(enum[2])-1]
} else if strings.HasSuffix(enum[2], "ull") {
Please sign in to comment.
Something went wrong with that request. Please try again.