about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-16 16:58:26 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-16 16:58:26 +0000
commit5fa779a5319ab1b665197b64cc351322c01360f7 (patch)
treecfb65c6a7516d7ed8d1623c93cf2282d7081a72e /editor
parent006a17271f6b6f60ac3ca025c2eec7e58a5fb72f (diff)
downloadnetpbm-mirror-5fa779a5319ab1b665197b64cc351322c01360f7.tar.gz
netpbm-mirror-5fa779a5319ab1b665197b64cc351322c01360f7.tar.xz
netpbm-mirror-5fa779a5319ab1b665197b64cc351322c01360f7.zip
change stdout to ofP
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@56 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/pnmrotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pnmrotate.c b/editor/pnmrotate.c
index 64c69e2a..fafb2f3a 100644
--- a/editor/pnmrotate.c
+++ b/editor/pnmrotate.c
@@ -705,7 +705,7 @@ shearXToOutputFile(FILE *                 const ofP,
     unsigned int row;
     xel * xelrow;
     
-    pnm_writepnminit(stdout, newcols, rows, maxval, format, 0);
+    pnm_writepnminit(ofP, newcols, rows, maxval, format, 0);
 
     xelrow = pnm_allocrow(newcols);
 
@@ -722,7 +722,7 @@ shearXToOutputFile(FILE *                 const ofP,
         shearFinal(xels[row], xelrow, cols, newcols, format, 
                    bgColor, antialias, shiftAmount, x2shearjunk);
 
-        pnm_writepnmrow(stdout, xelrow, newcols, maxval, format, 0);
+        pnm_writepnmrow(ofP, xelrow, newcols, maxval, format, 0);
     }
     pnm_freerow(xelrow);
 }