diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-11 18:01:19 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-11 18:01:19 -0400 |
commit | 98e1bce7745245081b27c738dda38116fa08815e (patch) | |
tree | 3bb80c91fabdc0842d04c6471c497b5abc458679 /monitor_proto.c | |
parent | a3a772ecd97b005178a4c618d1707919d894f28c (diff) | |
download | gpsd-98e1bce7745245081b27c738dda38116fa08815e.tar.gz |
Improve explanatory comments.
Diffstat (limited to 'monitor_proto.c')
-rw-r--r-- | monitor_proto.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/monitor_proto.c b/monitor_proto.c index 55f4e916..6afb2021 100644 --- a/monitor_proto.c +++ b/monitor_proto.c @@ -52,8 +52,9 @@ static bool PROTO_initialize(void) * devicewin, just below the status and command line at top of * screen, and (2) packetwin, taking up the rest of the screen below * it; packetwin will be enabled for scrolling. Note, however, - * that you cannot update packetwin safely, as it may be NULL - * if the screen has no lines left over after allocating devicewin. + * that you cannot necessarily update packetwin safely, as it may be NULL + * if the screen has no lines left over after allocating devicewin; + * you'll need to check this in your code. * * Use this method to paint windowframes and legends on the * freshly initialized device window. You can also use this @@ -93,7 +94,7 @@ static int PROTO_command(char line[]) * NULL, gpsmon will behave sanely, accepting no device-specific commands. * * It is a useful convention to use uppercase letters for - * driver-specfic commands and leave lowercase ones for the + * driver-specific commands and leave lowercase ones for the * generic gpsmon ones. */ |