Revision: 55932
http://sourceforge.net/p/brlcad/code/55932
Author: carlmoore
Date: 2013-07-02 16:51:43 +0000 (Tue, 02 Jul 2013)
Log Message:
-----------
remove old h; furnish help via h,?; initialize (to 0) three variables which are
set to 1 by options
Modified Paths:
--------------
brlcad/trunk/src/fb/rle-fb.c
Modified: brlcad/trunk/src/fb/rle-fb.c
===================================================================
--- brlcad/trunk/src/fb/rle-fb.c 2013-07-02 16:50:40 UTC (rev 55931)
+++ brlcad/trunk/src/fb/rle-fb.c 2013-07-02 16:51:43 UTC (rev 55932)
@@ -52,12 +52,12 @@
static int scr_xoff = 0;
static int scr_yoff = 0;
-static int crunch;
-static int overlay;
-static int r_debug;
+static int crunch = 0;
+static int overlay = 0;
+static int r_debug = 0;
static char usage[] = "\
-Usage: rle-fb [-c -d -h -O] [-F framebuffer] [-C r/g/b]\n\
+Usage: rle-fb [-c -d -O] [-F framebuffer] [-C r/g/b]\n\
[-S squarescrsize] [-W scr_width] [-N scr_height]\n\
[-X scr_xoff] [-Y scr_yoff] [file.rle]\n\
";
@@ -71,7 +71,7 @@
{
int c;
- while ((c = bu_getopt(argc, argv, "cOdhs:S:w:W:n:N:C:F:X:Y:")) != -1) {
+ while ((c = bu_getopt(argc, argv, "cOds:S:w:W:n:N:C:F:X:Y:h?")) != -1) {
switch (c) {
case 'O':
overlay = 1;
@@ -85,10 +85,6 @@
case 'c':
crunch = 1;
break;
- case 'h':
- /* high-res */
- screen_height = screen_width = 1024;
- break;
case 'S':
case 's':
/* square screen size */
@@ -122,7 +118,6 @@
}
break;
default:
- case '?':
return 0;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits