diff options
Diffstat (limited to 'src/blueshift_iccprofile.c')
| -rw-r--r-- | src/blueshift_iccprofile.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/blueshift_iccprofile.c b/src/blueshift_iccprofile.c index 806f47b..27c90bf 100644 --- a/src/blueshift_iccprofile.c +++ b/src/blueshift_iccprofile.c @@ -70,9 +70,9 @@ int main(int argc, char **argv) /* This acquires a connection to the X display indicated by the DISPLAY - environ variable, or as indicated + environment variable, or as indicated by the first command line argument - if existent. */ + if present. */ if (argc > 1) display = *(argv + 1); connection = xcb_connect(display, NULL); @@ -95,7 +95,7 @@ int main(int argc, char **argv) xcb_atom_t* atoms; xcb_atom_t* atoms_end; - /* We have acquired the screen, got to next in preperate for next iteration. */ + /* We have acquired the screen; proceed to prepare for the next iteration. */ xcb_screen_next(&iter); @@ -153,7 +153,7 @@ int main(int argc, char **argv) /* Extract the atom name from the data structure that holds it. */ name_ = xcb_get_atom_name_name(name_reply); - /* As well as the length of the name; it is not NUL-termianted.*/ + /* As well as the length of the name; it is not NUL-terminated. */ len = (uint32_t)xcb_get_atom_name_name_length(name_reply); /* NUL-terminate the atom name, */ @@ -190,7 +190,7 @@ int main(int argc, char **argv) /* Not numerical: did not match */ goto monitor_bad; } - /* Convert from negative to possitive. */ + /* Convert from negative to positive. */ monitor = -monitor; /* Check that it is not zero, zero is not a valid index, it should just be @@ -199,9 +199,9 @@ int main(int argc, char **argv) goto monitor_ok; monitor_bad: - /* Atom name ultimately did not match the, pattern + /* Atom name ultimately did not match the pattern; ignore it, it may be for something else, but it - is propably just invalid. */ + is probably just invalid. */ continue; } else |
