init m_display

This commit is contained in:
fluxgen 2004-01-09 02:15:02 +00:00
parent 9f6621a599
commit a944c7cca4

View file

@ -36,7 +36,7 @@ App *App::instance() {
return s_app; return s_app;
} }
App::App(const char *displayname):m_done(false) { App::App(const char *displayname):m_done(false), m_display(0) {
if (s_app != 0) if (s_app != 0)
throw std::string("Can't create more than one instance of FbTk::App"); throw std::string("Can't create more than one instance of FbTk::App");
s_app = this; s_app = this;