aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qregisters.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-08 22:11:56 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-08 22:25:51 +0100
commitde3ed8db8b49638bd140830f6894a880fad8ef1b (patch)
treefb88e45d130165dd6ff57fc9757b35148c3a2530 /src/qregisters.h
parentf09318bab642ca7230c927b7b4180870ce6ad059 (diff)
fixed ring.current/QRegisters::current corruption
occurs when rubbing out a switch from q-reg string or to q-reg string
Diffstat (limited to 'src/qregisters.h')
-rw-r--r--src/qregisters.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/qregisters.h b/src/qregisters.h
index 651be1e..a5b20cb 100644
--- a/src/qregisters.h
+++ b/src/qregisters.h
@@ -357,12 +357,7 @@ namespace QRegisters {
extern QRegisterTable *locals;
extern QRegister *current;
- static inline void
- undo_edit(void)
- {
- current->dot = interface.ssm(SCI_GETCURRENTPOS);
- undo.push_var(current)->undo_edit();
- }
+ void undo_edit(void);
enum Hook {
HOOK_ADD = 1,