databuffer.h

changeset 38
e4bbd540663b
parent 37
c349dca807f9
child 39
07b7ab8080cf
--- a/databuffer.h	Sun Jul 29 16:55:32 2012 +0300
+++ b/databuffer.h	Mon Jul 30 03:38:02 2012 +0300
@@ -222,6 +222,13 @@
 			}
 		}
 	}
+	
+	// Adjusts a mark to the current position
+	void MoveMark (unsigned int mark) {
+		if (!marks[mark])
+			return;
+		marks[mark]->pos = writesize - sizeof (word);
+	}
 };
 
 #endif // __DATABUFFER_H__
\ No newline at end of file

mercurial