Commits

Jason McKesson  committed eb1d16c

Fix for issue #36

  • Participants
  • Parent commits ba7a173

Comments (0)

Files changed (2)

File modules/StylePointerC.lua

 	end
 	
 	hFile:write "\n"
-	hFile:fmt("int %s()\n", DecorateFuncName("GetMinorVersion", spec, options))
+	hFile:fmt("int %s()\n", DecorateFuncName("GetMajorVersion", spec, options))
 	hFile:writeblock([[
 {
 	if(g_major_version == 0)
 ]])
 	hFile:write "\n"
 
-	hFile:fmt("int %s()\n", DecorateFuncName("GetMajorVersion", spec, options))
+	hFile:fmt("int %s()\n", DecorateFuncName("GetMinorVersion", spec, options))
 	hFile:writeblock([[
 {
 	if(g_major_version == 0) //Yes, check the major version to get the minor one.

File modules/StylePointerCPP.lua

 	
 	hFile:write "\n"
 	hFile:writeblock([[
-int GetMinorVersion()
+int GetMajorVersion()
 {
 	if(g_major_version == 0)
 		GetGLVersion();
 	hFile:write "\n"
 
 	hFile:writeblock([[
-int GetMajorVersion()
+int GetMinorVersion()
 {
 	if(g_major_version == 0) //Yes, check the major version to get the minor one.
 		GetGLVersion();