summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2009-07-22 10:02:57 -0700
committerAaron Plattner <aplattner@nvidia.com>2009-07-22 10:02:57 -0700
commit0576238fae0a8f17fe7f8fb645dbe18624cd7d51 (patch)
treed0bc518b3dc911c6e6f519489af1d2b0ccda1d68
parent51a0366aab3230499affb689b204effebd6c952d (diff)
-rw-r--r--nvidia-cfg.h20
-rw-r--r--option_table.h2
2 files changed, 11 insertions, 11 deletions
diff --git a/nvidia-cfg.h b/nvidia-cfg.h
index 1818831..2ff08d8 100644
--- a/nvidia-cfg.h
+++ b/nvidia-cfg.h
@@ -1,4 +1,4 @@
-/*
+/*
* nvidia-cfg
*
* Copyright (c) 2004 NVIDIA Corp. All rights reserved.
@@ -79,24 +79,24 @@ typedef struct {
*/
char monitor_name[64];
-
+
/*
* The horiz_sync and vert_refresh ranges are retrieved from an
* EDID 1.x Monitor Descriptor, or an EDID 2.x Range Limit.
*/
-
+
unsigned int min_horiz_sync; /* in Hz */
unsigned int max_horiz_sync; /* in Hz */
unsigned int min_vert_refresh; /* in Hz */
unsigned int max_vert_refresh; /* in Hz */
-
+
unsigned int max_pixel_clock; /* in kHz */
/*
* The max xres, yres, and refresh, if not 0, are taken from the
* largest mode in the EDID.
*/
-
+
unsigned int max_xres; /* in pixels */
unsigned int max_yres; /* in pixels */
unsigned int max_refresh; /* in Hz */
@@ -106,19 +106,19 @@ typedef struct {
* specified by the EDID as the preferred timing mode of the
* display device.
*/
-
+
unsigned int preferred_xres; /* in pixels */
unsigned int preferred_yres; /* in pixels */
unsigned int preferred_refresh; /* in Hz */
/*
* the physical width and height, if not 0, are the physical
- * dimensions of the display device.
+ * dimensions of the display device.
*/
-
+
unsigned int physical_width; /* in mm */
unsigned int physical_height; /* in mm */
-
+
} NvCfgDisplayDeviceInformation;
@@ -272,7 +272,7 @@ NvCfgBool nvCfgGetDisplayDevices(NvCfgDeviceHandle handle,
/* nvCfgGetSupportedDisplayDevices() - get all supported display devices,
- * not only connected ones. Interpretation of display_device_mask
+ * not only connected ones. Interpretation of display_device_mask
* parameter is the same as for nvCfgGetDisplayDevices() call.
* On success, NVCFG_TRUE will be returned and display_device_mask will be
* assigned. On failure, NVCFG_FALSE will be returned.
diff --git a/option_table.h b/option_table.h
index e5a4408..3a1358d 100644
--- a/option_table.h
+++ b/option_table.h
@@ -378,7 +378,7 @@ static const NVGetoptOption __options[] = {
"for this library (in case it cannot find it on its own). This option "
"should normally not be needed." },
- { "only-one-x-screen", '1', 0,
+ { "only-one-x-screen", '1', 0, NULL,
"Disable all but one X screen." },
{ "overlay",