diff --git a/panda/src/pnmimagetypes/pnmFileTypeJPGReader.cxx b/panda/src/pnmimagetypes/pnmFileTypeJPGReader.cxx index 707b910150..94b1ec0f3c 100644 --- a/panda/src/pnmimagetypes/pnmFileTypeJPGReader.cxx +++ b/panda/src/pnmimagetypes/pnmFileTypeJPGReader.cxx @@ -22,7 +22,7 @@ // // The following bit of code, for setting up jpeg_istream_src(), was -// lifted from jpeglib, and modified to work with istream istead of +// lifted from jpeglib, and modified to work with istream instead of // stdio. // diff --git a/panda/src/pnmimagetypes/pnmFileTypeJPGWriter.cxx b/panda/src/pnmimagetypes/pnmFileTypeJPGWriter.cxx index 413f4fcd1f..084c4df7ee 100644 --- a/panda/src/pnmimagetypes/pnmFileTypeJPGWriter.cxx +++ b/panda/src/pnmimagetypes/pnmFileTypeJPGWriter.cxx @@ -24,8 +24,8 @@ // -// The following bit of code, for setting up jpeg_istream_src(), was -// lifted from jpeglib, and modified to work with istream istead of +// The following bit of code, for setting up jpeg_ostream_src(), was +// lifted from jpeglib, and modified to work with ostream instead of // stdio. //