about summary refs log tree commit diff
path: root/lib/pam.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-23 17:25:04 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-23 17:25:04 +0000
commit5825b5838972654842000ce113f543ba167a9e83 (patch)
treec28d95bab6ff4c0e4c9253cadb992eacda09e549 /lib/pam.h
parentdf1573eb5977ae1db7514ba1acb7427749a22c80 (diff)
downloadnetpbm-mirror-5825b5838972654842000ce113f543ba167a9e83.tar.gz
netpbm-mirror-5825b5838972654842000ce113f543ba167a9e83.tar.xz
netpbm-mirror-5825b5838972654842000ce113f543ba167a9e83.zip
Improve comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1952 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/pam.h')
-rw-r--r--lib/pam.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/pam.h b/lib/pam.h
index 4caaee6e..24a27e81 100644
--- a/lib/pam.h
+++ b/lib/pam.h
@@ -52,9 +52,13 @@ struct pam {
         */
     FILE * file;
     int format;
-        /* The format code of the raw image.  This is PAM_FORMAT
+        /* The format code of the image.  This is PAM_FORMAT
            unless the PAM image is really a view of a PBM, PGM, or PPM
-           image.  Then it's PBM_FORMAT, RPBM_FORMAT, etc.
+           image.  Then it's PBM_FORMAT, RPBM_FORMAT, etc.  For output,
+           only the format _type_ is significant, e.g. PBM_FORMAT
+           and RPBM_FORMAT have identical effect.  This is because on
+           output, 'plainformat' determines whether the output is the
+           raw or plain format of the type given by 'format'.
            */
     unsigned int plainformat;
         /* Logical: On output, use plain version of the format type