diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-10-06 23:08:35 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-10-06 23:08:35 +0000 |
commit | 328497a8f6ebf846f07dd7d53d2718050851c5ca (patch) | |
tree | b5e727e9948bfc1bff4263cfefe1b7dab43fd41f /converter/ppm | |
parent | 6b504bba62ab65171f0999152237100a894e49c0 (diff) | |
download | netpbm-mirror-328497a8f6ebf846f07dd7d53d2718050851c5ca.tar.gz netpbm-mirror-328497a8f6ebf846f07dd7d53d2718050851c5ca.tar.xz netpbm-mirror-328497a8f6ebf846f07dd7d53d2718050851c5ca.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3389 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm')
-rw-r--r-- | converter/ppm/xvminitoppm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/converter/ppm/xvminitoppm.c b/converter/ppm/xvminitoppm.c index d76bea87..0da1515e 100644 --- a/converter/ppm/xvminitoppm.c +++ b/converter/ppm/xvminitoppm.c @@ -101,12 +101,12 @@ readXvHeader(FILE * const ifP, unsigned int * const colsP, unsigned int * const rowsP, unsigned int * const maxvalP) { - + char buf[256]; unsigned int cols, rows, maxval; int rc; bool endOfComments; - + getLine(ifP, buf, sizeof(buf)); if (!strneq(buf, "P7 332", 6)) @@ -166,7 +166,7 @@ writePpm(FILE * const ifP, else { unsigned int const paletteIndex = byte; assert(byte >= 0); - + PPM_ASSIGN(pixrow[col], xvPaletteP->red[paletteIndex], xvPaletteP->grn[paletteIndex], @@ -181,7 +181,7 @@ writePpm(FILE * const ifP, -int +int main(int argc, char * argv[]) { @@ -190,7 +190,7 @@ main(int argc, unsigned int cols, rows; pixval maxval; xvPalette xvPalette; - + ppm_init(&argc, argv); parseCommandLine(argc, argv, &cmdline); |