Skip to content
Browse files

Changed the way Luna.h returns strings.

  • Loading branch information...
1 parent 2f3118b commit 3397c5abc78a18271ac206122b87380b679ad9bf @agustincordes agustincordes committed Jul 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Other Sources/Luna.h
View
3 Other Sources/Luna.h
@@ -120,7 +120,8 @@ template <typename T> class Luna {
// Another modification: print the name of the Dagon object instead
// of its pointer
sprintf(buff, "%s", obj->ptr()->name());
- lua_pushfstring(L, "%s (%s)", T::className, buff);
+ //lua_pushfstring(L, "%s (%s)", T::className, buff);
+ lua_pushfstring(L, "%s", buff);
return 1;
}
};

0 comments on commit 3397c5a

Please sign in to comment.
Something went wrong with that request. Please try again.