Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
committed by
Paul Beckingham
parent
cae3f06b7d
commit
7af6db4c17
@@ -28,8 +28,6 @@
|
||||
#include <CmdUndo.h>
|
||||
#include <Context.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
CmdUndo::CmdUndo ()
|
||||
{
|
||||
@@ -49,7 +47,7 @@ CmdUndo::CmdUndo ()
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdUndo::execute (std::string&)
|
||||
{
|
||||
context.tdb2.revert ();
|
||||
Context::getContext ().tdb2.revert ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user