Revision: 41050
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41050&view=rev
Author:   brlcad
Date:     2010-10-18 17:42:18 +0000 (Mon, 18 Oct 2010)

Log Message:
-----------
inpp name tweak

Modified Paths:
--------------
    brlcad/trunk/src/util/pixfade.c

Modified: brlcad/trunk/src/util/pixfade.c
===================================================================
--- brlcad/trunk/src/util/pixfade.c     2010-10-18 17:39:57 UTC (rev 41049)
+++ brlcad/trunk/src/util/pixfade.c     2010-10-18 17:42:18 UTC (rev 41050)
@@ -56,7 +56,7 @@
 
 
 int
-get_args(int argc, char **argv, FILE **inp, int *max, double *multiplier)
+get_args(int argc, char **argv, FILE **inpp, int *max, double *multiplier)
 {
     int c;
 
@@ -94,9 +94,10 @@
            fprintf(stderr, "pixfade: stdin is a tty\n");
            return 0;
        }
-       *inp = stdin;
+       *inpp = stdin;
     } else {
-       if ((*inp = fopen(argv[bu_optind], "r")) == NULL) {
+       *inpp = fopen(argv[bu_optind], "r");
+       if (*inpp == NULL) {
            (void)fprintf(stderr,
                          "pixfade: cannot open \"%s\" for reading\n",
                          argv[bu_optind]);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to