Revision: 65518
http://sourceforge.net/p/brlcad/code/65518
Author: carlmoore
Date: 2015-07-01 21:06:39 +0000 (Wed, 01 Jul 2015)
Log Message:
-----------
make bwscale.c more like pixscale.c
Modified Paths:
--------------
brlcad/trunk/src/util/bwscale.c
Modified: brlcad/trunk/src/util/bwscale.c
===================================================================
--- brlcad/trunk/src/util/bwscale.c 2015-07-01 20:33:41 UTC (rev 65517)
+++ brlcad/trunk/src/util/bwscale.c 2015-07-01 21:06:39 UTC (rev 65518)
@@ -393,14 +393,11 @@
{
int i;
- if (!get_args(argc, argv) || isatty(fileno(stdout))) {
- (void)fputs(usage, stderr);
- bu_exit (1, NULL);
- }
+ if (!get_args(argc, argv) || isatty(fileno(stdout)))
+ bu_exit(1, "%s", usage);
if (inx <= 0 || iny <= 0 || outx <= 0 || outy <= 0) {
- fprintf(stderr, "bwscale: bad size\n");
- bu_exit (2, NULL);
+ bu_exit(2, "bwscale: bad size\n");
}
/* See how many lines we can buffer */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits