Revision: 55237
http://sourceforge.net/p/brlcad/code/55237
Author: brlcad
Date: 2013-04-25 03:10:41 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
if one section gets curlies, the other should too
Modified Paths:
--------------
brlcad/trunk/src/util/cv.c
Modified: brlcad/trunk/src/util/cv.c
===================================================================
--- brlcad/trunk/src/util/cv.c 2013-04-25 03:09:14 UTC (rev 55236)
+++ brlcad/trunk/src/util/cv.c 2013-04-25 03:10:41 UTC (rev 55237)
@@ -69,17 +69,17 @@
}
in_pat = argv[1];
- if (BU_STR_EQUAL(in_pat, ""))
+ if (BU_STR_EQUAL(in_pat, "")) {
in_pat = "huc";
- else if (strlen(in_pat) > 4 || strlen(in_pat) < 1) {
+ } else if (strlen(in_pat) > 4 || strlen(in_pat) < 1) {
fprintf(stderr, "cv: unrecognized input pattern\n");
return 1;
}
out_pat = argv[2];
- if (BU_STR_EQUAL(out_pat, ""))
+ if (BU_STR_EQUAL(out_pat, "")) {
out_pat = "nuc";
- else if (strlen(out_pat) > 4 || strlen(out_pat) < 1) {
+ } else if (strlen(out_pat) > 4 || strlen(out_pat) < 1) {
fprintf(stderr, "cv: unrecognized output pattern\n");
return 1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits