]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: Fixed typo in function names: OutPut -> Output
authorTill Kamppeter <till.kamppeter@gmail.com>
Thu, 25 Aug 2022 22:29:30 +0000 (00:29 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Thu, 25 Aug 2022 22:29:30 +0000 (00:29 +0200)
cupsfilters/pdfutils.c
cupsfilters/pdfutils.h
filter/test_pdf2.c

index bb1d7b2e7fd860ed89801cef2fb148b2912d3d00..4c63288aeb8bcb801c81eee4382be609dd47ee55 100644 (file)
@@ -29,7 +29,7 @@ void cfPDFOutPrintF(cf_pdf_out_t *pdf,const char *fmt,...) // {{{
 }
 // }}}
 
-void cfPDFOutPutString(cf_pdf_out_t *pdf,const char *str,int len) // {{{ - >len==-1: strlen()
+void cfPDFOutputString(cf_pdf_out_t *pdf,const char *str,int len) // {{{ - >len==-1: strlen()
 {
   DEBUG_assert(pdf);
   DEBUG_assert(str);
@@ -60,7 +60,7 @@ void cfPDFOutPutString(cf_pdf_out_t *pdf,const char *str,int len) // {{{ - >len=
 }
 // }}}
 
-void cfPDFOutPutHexString(cf_pdf_out_t *pdf,const char *str,int len) // {{{ - >len==-1: strlen()
+void cfPDFOutputHexString(cf_pdf_out_t *pdf,const char *str,int len) // {{{ - >len==-1: strlen()
 {
   DEBUG_assert(pdf);
   DEBUG_assert(str);
@@ -227,7 +227,7 @@ void cfPDFOutFinishPDF(cf_pdf_out_t *pdf) // {{{
                       info_obj);
     for (iA=0;iA<pdf->kvsize;iA++) {
       cfPDFOutPrintF(pdf,"  /%s ",pdf->kv[iA].key);
-      cfPDFOutPutString(pdf,pdf->kv[iA].value,-1);
+      cfPDFOutputString(pdf,pdf->kv[iA].value,-1);
       cfPDFOutPrintF(pdf,"\n");
     }
     cfPDFOutPrintF(pdf,">>\n"
index 48998f64302cb845f63df3307226d655ddf14576..32633eafe62a01040cccb5b70da62bac98a29375 100644 (file)
@@ -48,8 +48,8 @@ void cfPDFOutPrintF(cf_pdf_out_t *pdf,const char *fmt,...)
 /* write out an escaped pdf string: e.g.  (Text \(Test\)\n)
  * >len==-1: use strlen(str) 
  */
-void cfPDFOutPutString(cf_pdf_out_t *pdf,const char *str,int len);
-void cfPDFOutPutHexString(cf_pdf_out_t *pdf,const char *str,int len);
+void cfPDFOutputString(cf_pdf_out_t *pdf,const char *str,int len);
+void cfPDFOutputHexString(cf_pdf_out_t *pdf,const char *str,int len);
 
 /* Format the broken up timestamp according to
  * pdf requirements for /CreationDate
index efc329a9a3034b3c9450be8deb5a3a33c3cdf025..8eaef38923c07c91b6cdbcf099a324b7f697d616 100644 (file)
@@ -25,7 +25,7 @@ static inline void write_string(cf_pdf_out_t *pdf,EMB_PARAMS *emb,const char *st
       emb_get(emb,(unsigned char)str[iA]);
       // TODO: pdf: otf_from_pdf_default_encoding
     }
-    cfPDFOutPutString(pdf,str,-1);
+    cfPDFOutputString(pdf,str,-1);
   }
 }
 // }}}