diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-19 18:41:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-20 08:57:26 -0700 |
commit | 8140c2d43519fc44606a82e0d249541a2cdf516d (patch) | |
tree | 3f4d94a09f2b32a8559768710f3b39693a75a4d7 /search.c | |
parent | eec31c83594049fc52c985daacca0f8007a2a410 (diff) |
Fix numerous typos & spelling errors in comments and message strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,7 +34,7 @@ from the X Consortium. #include "globals.h" #include "vendor.h" -/* Map <CR> and control-M to goto begining of file. */ +/* Map <CR> and control-M to goto beginning of file. */ #define SEARCHARGS 10 @@ -43,7 +43,7 @@ static int BEntrySearch(char * string, char ** first, int number); /* Function Name: MakeSearchWidget * Description: This Function Creates the Search Widget. - * Arguments: man_globals - the pseudo globas for this manpage. + * Arguments: man_globals - the pseudo globals for this manpage. * w - the widgets parent * Returns: the search widget. */ @@ -129,7 +129,7 @@ ManpageGlobals * man_globals) /* Function Name: DoSearch * Description: This function performs a search for a man page or apropos * search upon search string. - * Arguments: man_globals - the pseudo globas for this manpage. + * Arguments: man_globals - the pseudo globals for this manpage. * type - the type of search. * Returns: none. */ @@ -273,7 +273,7 @@ DoSearch(ManpageGlobals * man_globals, int type) ChangeLabel(man_globals->label,label); fseek(file, 0L, SEEK_SET); /* reset file to point at top. */ } - else { /* MANUAL SEACH */ + else { /* MANUAL SEARCH */ file = DoManualSearch(man_globals, search_string); if (file == NULL) { snprintf(string_buf, sizeof(string_buf), "No manual entry for %s.", search_string); |