]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.C
citation patch from Angus
[lyx.git] / src / Spacing.C
index 14261b665ddd646bb5270eddcabc116fc3e21ee0..f3ad1f66727ce77e460994540611342552045d3f 100644 (file)
@@ -1,5 +1,18 @@
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *        
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2000 The LyX Team.
+ *
+ * ====================================================== */
+
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
 
 #ifdef HAVE_SSTREAM
 #include <sstream>
@@ -98,7 +111,7 @@ string Spacing::writeEnvirBegin() const
                        char tmp[512];
                        ostrstream ost(tmp, 512);
                        ost << "\\begin{spacing}{"
-                           << getValue() << "}";
+                           << getValue() << "}" << '\0';
                        return ost.str();
                }
 #endif