]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-marker.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / page-marker.cc
index fb3b3dea507a2062d2a10530ef89821e859b5c3a..aa66ee31eac75ed9a2f5272f42eaa670f31f7713 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2007--2009 Nicolas Sceaux <nicolas.sceaux@free.fr>
+  Copyright (C) 2007--2014 Nicolas Sceaux <nicolas.sceaux@free.fr>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -28,6 +28,14 @@ Page_marker::Page_marker ()
   smobify_self ();
 }
 
+Page_marker::Page_marker (Page_marker const &src)
+{
+  symbol_ = src.symbol_;
+  permission_ = src.permission_;
+  label_ = src.label_;
+  smobify_self ();
+}
+
 Page_marker::~Page_marker ()
 {
 }
@@ -47,10 +55,10 @@ Page_marker::mark_smob (SCM smob)
 }
 
 int
-Page_marker::print_smob (SCM smob, SCM port, scm_print_state*)
+Page_marker::print_smob (SCM smob, SCM port, scm_print_state *)
 {
   Page_marker *pm = (Page_marker *) SCM_CELL_WORD_1 (smob);
-  (void)pm;
+  (void) pm;
   scm_puts ("#<Page_marker>", port);
   return 1;
 }
@@ -85,5 +93,3 @@ Page_marker::set_label (SCM label)
 {
   label_ = label;
 }
-
-