mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-27 03:41:03 +00:00
fixed linux-only crash when error message handler causes an error
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@65 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
a99f74dc0e
commit
509042502f
1 changed files with 1 additions and 2 deletions
|
@ -299,10 +299,9 @@ public:
|
||||||
m_buffer << "Please report this error to the developers\n";
|
m_buffer << "Please report this error to the developers\n";
|
||||||
gtk_MessageBox(0, m_buffer.c_str(), "Radiant - Runtime Error", eMB_OK, eMB_ICONERROR);
|
gtk_MessageBox(0, m_buffer.c_str(), "Radiant - Runtime Error", eMB_OK, eMB_ICONERROR);
|
||||||
m_buffer.clear();
|
m_buffer.clear();
|
||||||
return true;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue