summaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-19 18:41:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-20 08:57:26 -0700
commit8140c2d43519fc44606a82e0d249541a2cdf516d (patch)
tree3f4d94a09f2b32a8559768710f3b39693a75a4d7 /search.c
parenteec31c83594049fc52c985daacca0f8007a2a410 (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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/search.c b/search.c
index 48c4efe..0f4536b 100644
--- a/search.c
+++ b/search.c
@@ -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);