From: b Date: Mon, 30 Dec 2013 21:44:34 +0000 (+0000) Subject: STDOUT! Facepalm #3. X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=e8551099556b14a0327bd7063128bfbd50f3e002;p=ott%2Fenhance STDOUT! Facepalm #3. git-svn-id: svn://botcastle1b/npb@20 0d794883-4e4e-4f65-aa7a-0e7f5947bab5 --- diff --git a/npbd b/npbd index a25865a..0642aaf 100755 Binary files a/npbd and b/npbd differ diff --git a/npbd.cpp b/npbd.cpp index 41d06f7..6854c54 100644 --- a/npbd.cpp +++ b/npbd.cpp @@ -79,7 +79,7 @@ int main (int argc, char *argv[]) if(q!=0) { fread(buf,1,q,pix); - fwrite(buf,1,q,pix); + fwrite(buf,1,q,stdout); } fclose(pix); fflush(stdout);