typos.diff 4.38 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Author: Andreas Beckmann <anbe@debian.org>
Description: fix some typos found by lintian

--- a/src/XF86Config-parser/Monitor.c
+++ b/src/XF86Config-parser/Monitor.c
@@ -379,7 +379,7 @@ xconfigParseVerboseMode (void)
             Error (UNEXPECTED_EOF_MSG, NULL);
             break;
         default:
-            Error ("Unexepcted token in verbose \"Mode\" entry\n", NULL);
+            Error ("Unexpected token in verbose \"Mode\" entry\n", NULL);
         }
     }
     if (!had_dotclock)
--- a/src/parse.c
+++ b/src/parse.c
17
@@ -203,7 +203,7 @@ const AttributeTableEntry attributeTable
18 19 20 21 22 23 24 25
     { "FrameLockMaster",                  NV_CTRL_FRAMELOCK_MASTER,                     INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,1,0,0,0} }, "DEPRECATED: use \"FrameLockDisplayConfig\" instead." },
     { "FrameLockPolarity",                NV_CTRL_FRAMELOCK_POLARITY,                   INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "Sync to the rising edge of the Frame Lock pulse, the falling edge of the Frame Lock pulse, or both." },
     { "FrameLockSyncDelay",               NV_CTRL_FRAMELOCK_SYNC_DELAY,                 INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "Returns the delay between the frame lock pulse and the GPU sync.  This is an 11 bit value which is multiplied by 7.81 to determine the sync delay in microseconds." },
-    { "FrameLockSyncInterval",            NV_CTRL_FRAMELOCK_SYNC_INTERVAL,              INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "This defines the number of house sync pulses for each Frame Lock sync period.  This only applies to the server, and only when recieving house sync.  A value of zero means every house sync pulse is one frame period." },
+    { "FrameLockSyncInterval",            NV_CTRL_FRAMELOCK_SYNC_INTERVAL,              INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "This defines the number of house sync pulses for each Frame Lock sync period.  This only applies to the server, and only when receiving house sync.  A value of zero means every house sync pulse is one frame period." },
     { "FrameLockPort0Status",             NV_CTRL_FRAMELOCK_PORT0_STATUS,               INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "Input/Output status of the RJ45 port0." },
     { "FrameLockPort1Status",             NV_CTRL_FRAMELOCK_PORT1_STATUS,               INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "Input/Output status of the RJ45 port1." },
     { "FrameLockHouseStatus",             NV_CTRL_FRAMELOCK_HOUSE_STATUS,               INT_ATTR, {1,1,0,0,1,0}, { .int_flags = {0,0,0,0,0,0,0} }, "Returns whether or not the house sync signal was detected on the BNC connector of the frame lock board." },
26
@@ -889,7 +889,7 @@ const char *nv_parse_strerror(int status
27 28 29 30 31 32 33 34
     case NV_PARSER_STATUS_BAD_ARGUMENT :
         return "Bad argument"; break;
     case NV_PARSER_STATUS_EMPTY_STRING :
-        return "Emtpy string"; break;
+        return "Empty string"; break;
     case NV_PARSER_STATUS_ATTR_NAME_TOO_LONG :
         return "The attribute name is too long"; break;
     case NV_PARSER_STATUS_ATTR_NAME_MISSING :
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
--- a/src/gtk+-2.x/ctkxvideo.c
+++ b/src/gtk+-2.x/ctkxvideo.c
@@ -71,7 +71,7 @@ GType ctk_xvideo_get_type(
 
 
 /*
- * Updates the status bar for when a change occured.
+ * Updates the status bar for when a change occurred.
  */
 static void post_xv_sync_to_display_update(CtkXVideo *ctk_xvideo,
                                            GtkWidget *active_button)
--- a/src/libXNVCtrl/NVCtrl.h
+++ b/src/libXNVCtrl/NVCtrl.h
@@ -1931,7 +1931,7 @@
 
 /*
  * NV_CTRL_NUM_GPU_ERRORS_RECOVERED - Returns the number of GPU errors
- * occured. This attribute may be queried through XNVCTRLQueryTargetAttribute()
+ * occurred. This attribute may be queried through XNVCTRLQueryTargetAttribute()
  * using a NV_CTRL_TARGET_TYPE_X_SCREEN target.
  */
 
--- a/src/nvidia-settings.c
+++ b/src/nvidia-settings.c
@@ -279,7 +279,7 @@ int main(int argc, char **argv)
 
     if (!libdata.gui_lib_handle) {
         nv_error_msg("%s", libdata.error_msg);
-        nv_error_msg("A problem occured when loading the GUI library. Please "
+        nv_error_msg("A problem occurred when loading the GUI library. Please "
                      "check your installation and library path. You may need "
                      "to specify this library when calling nvidia-settings. "
                      "Please run `%s --help` for usage information.\n",