]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdc-file.cxx
Merge changes from CUPS 1.5svn-r9049 (private header support)
[thirdparty/cups.git] / ppdc / ppdc-file.cxx
index 29f109ce2134b4faf2c4ac2cb4fbe43e030691eb..88689219988e0a4ab2e6f31a5b0d70dfb2864077 100644 (file)
@@ -3,7 +3,7 @@
 //
 //   File class for the CUPS PPD Compiler.
 //
-//   Copyright 2007 by Apple Inc.
+//   Copyright 2007-2010 by Apple Inc.
 //   Copyright 2002-2005 by Easy Software Products.
 //
 //   These coded instructions, statements, and computer programs are the
@@ -24,7 +24,7 @@
 // Include necessary headers...
 //
 
-#include "ppdc.h"
+#include "ppdc-private.h"
 
 
 //
@@ -46,7 +46,8 @@ ppdcFile::ppdcFile(const char  *f,            // I - File to open
   line     = 1;
 
   if (!fp)
-    fprintf(stderr, "ppdc: Unable to open %s: %s\n", f, strerror(errno));
+    _cupsLangPrintf(stderr, _("%s: Unable to open %s: %s\n"), "ppdc", f,
+                    strerror(errno));
 }