]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Alert.C
Lars says _(_(b)) is a bug ... fix
[lyx.git] / src / frontends / Alert.C
index 4463d63d7545afade1f8e02dda301baa17bd0b27..708ebf2c8a60154d2a19f0a44e42cffa7db15a92 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file Alert.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon 
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 #include "Alert.h"
 
 #include "debug.h"
-#include "lyxrc.h" 
+#include "lyxrc.h"
+
 #include "Alert_pimpl.h"
 
 #include <cerrno>
+
+#ifndef CXX_GLOBAL_CSTD
+using std::strerror;
+#endif
+
 using std::endl;
 using std::pair;
 using std::make_pair;
@@ -28,7 +34,7 @@ void Alert::alert(string const & s1, string const & s2, string const & s3)
                lyxerr << "------------------------------" << endl
                       << s1 << endl << s2 << endl << s3 << endl
                       << "------------------------------" << endl;
-       } else { 
+       } else {
                alert_pimpl(s1, s2, s3);
        }
 }