]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
When a row is shortened, reset its flushed() attribute.
[lyx.git] / src / Undo.h
index 59f3ca44fc93a58975ee459ffc9440e5889a5ac1..70897bfa28fe336f21d428b27ea62c4708bed3af 100644 (file)
@@ -135,7 +135,7 @@ private:
  */
 class UndoGroupHelper {
 public:
-       UndoGroupHelper(Buffer * buf) : buffer_(0)
+       UndoGroupHelper(Buffer * buf = 0) : buffer_(0)
        {
                resetBuffer(buf);
        }