Some exception cleanup

This commit is contained in:
Bart van Strien
2011-09-11 22:55:34 +02:00
parent 8f9a4ef15d
commit dc873c24f0
4 changed files with 12 additions and 25 deletions
+5
View File
@@ -30,6 +30,11 @@ namespace love
va_end(args);
}
Exception::Exception(int unparsed, const char * str)
{
strncpy(buffer, str, BUFFER_SIZE);
}
const char * Exception::what() const throw()
{
return (const char *)buffer;