aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.cpp')
-rw-r--r--src/ring.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ring.cpp b/src/ring.cpp
index 8654686..138714f 100644
--- a/src/ring.cpp
+++ b/src/ring.cpp
@@ -233,7 +233,7 @@ Ring::edit(gint64 id)
if (!buffer)
return false;
- current_save_dot();
+ current_doc_update();
QRegisters::current = NULL;
current = buffer;
@@ -249,7 +249,7 @@ Ring::edit(const gchar *filename)
{
Buffer *buffer = find(filename);
- current_save_dot();
+ current_doc_update();
QRegisters::current = NULL;
if (buffer) {
@@ -488,7 +488,7 @@ Ring::close(void)
{
Buffer *buffer = current;
- buffer->dot = interface.ssm(SCI_GETCURRENTPOS);
+ buffer->update();
close(buffer);
current = buffer->next() ? : buffer->prev();
/* transfer responsibility to UndoToken object */