init m_display
This commit is contained in:
parent
9f6621a599
commit
a944c7cca4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue