Fix typos.
authorsf-exg <sf-exg>
Wed, 31 Mar 2010 13:14:50 +0000 (13:14 +0000)
committersf-exg <sf-exg>
Wed, 31 Mar 2010 13:14:50 +0000 (13:14 +0000)
configure.ac
src/command.C
src/main.C
src/rxvt.h
src/rxvtfont.C
src/rxvtfont.h
src/rxvttoolkit.C
src/urxvt.pm

index 95a7ea2..2cbb05a 100644 (file)
@@ -34,7 +34,7 @@ AC_GNU_SOURCE
 AC_ISC_POSIX
 AC_LANG(C++)
 
 AC_ISC_POSIX
 AC_LANG(C++)
 
-dnl check wether we can link with gcc -lsupc++
+dnl check whether we can link with gcc -lsupc++
 if test x$GCC = xyes && test x$GXX = xyes; then
    dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it
    AC_MSG_CHECKING([for working libsupc++])
 if test x$GCC = xyes && test x$GXX = xyes; then
    dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it
    AC_MSG_CHECKING([for working libsupc++])
index ebbbb84..e331bde 100644 (file)
@@ -1035,7 +1035,7 @@ rxvt_term::flush ()
   display->flush ();
 }
 
   display->flush ();
 }
 
-/* checks wether a refresh is requested and starts the refresh timer */
+/* checks whether a refresh is requested and starts the refresh timer */
 void
 rxvt_term::refresh_check ()
 {
 void
 rxvt_term::refresh_check ()
 {
index c0aefd7..f9fd82e 100644 (file)
@@ -103,7 +103,7 @@ text_t rxvt_composite_vec::compose (unicode_t c1, unicode_t c2)
       cc = (*this)[cc->c1];
     }
 
       cc = (*this)[cc->c1];
     }
 
-  // check to see wether this combination already exists otherwise
+  // check to see whether this combination already exists otherwise
   for (cc = v.end (); cc-- > v.begin (); )
     {
       if (cc->c1 == c1 && cc->c2 == c2)
   for (cc = v.end (); cc-- > v.begin (); )
     {
       if (cc->c1 == c1 && cc->c2 == c2)
index bd205be..8530565 100644 (file)
@@ -988,9 +988,9 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
 #if POINTER_BLANK
                   hidden_pointer:1,
 #endif
 #if POINTER_BLANK
                   hidden_pointer:1,
 #endif
-                  enc_utf8:1,          /* wether locale uses utf-8 */
-                  seen_input:1,         /* wether we have seen some program output yet */
-                  seen_resize:1,       /* wether we had a resize event */
+                  enc_utf8:1,          /* whether locale uses utf-8 */
+                  seen_input:1,         /* whether we have seen some program output yet */
+                  seen_resize:1,       /* whether we had a resize event */
                   parsed_geometry:1;
 
   unsigned char   refresh_type,
                   parsed_geometry:1;
 
   unsigned char   refresh_type,
index 9a38cfc..42fa49a 100644 (file)
@@ -501,7 +501,7 @@ struct rxvt_font_x11 : rxvt_font {
              const text_t *text, int len,
              int fg, int bg);
 
              const text_t *text, int len,
              int fg, int bg);
 
-  bool slow; // wether this is a proportional font or has other funny characteristics
+  bool slow; // whether this is a proportional font or has other funny characteristics
   XFontStruct *f;
   bool enc2b, encm;
 
   XFontStruct *f;
   bool enc2b, encm;
 
@@ -917,7 +917,7 @@ rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &car
   if (ch == NOCHAR)
     return false;
 
   if (ch == NOCHAR)
     return false;
 
-  /* check wether the character exists in _this_ font. horrible. */
+  /* check whether the character exists in _this_ font. horrible. */
   XCharStruct *xcs;
 
   if (encm)
   XCharStruct *xcs;
 
   if (encm)
@@ -957,7 +957,7 @@ rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &car
   if (!prop || prop->width == rxvt_fontprop::unset)
     return true;
 
   if (!prop || prop->width == rxvt_fontprop::unset)
     return true;
 
-  // check wether character overlaps previous/next character
+  // check whether character overlaps previous/next character
   int w = xcs->rbearing - xcs->lbearing;
   int wcw = max (WCWIDTH (unicode), 1);
 
   int w = xcs->rbearing - xcs->lbearing;
   int wcw = max (WCWIDTH (unicode), 1);
 
index ed20a2e..78276b5 100644 (file)
@@ -34,7 +34,7 @@ struct rxvt_font
 
   char *name;
   codeset cs;
 
   char *name;
   codeset cs;
-  bool loaded; // wether we tried loading it before (not wether it's loaded)
+  bool loaded; // whether we tried loading it before (not whether it's loaded)
 
   // managed by the font object
   int ascent, descent,
 
   // managed by the font object
   int ascent, descent,
index 5f70647..c1ba37c 100644 (file)
@@ -466,7 +466,7 @@ bool rxvt_display::ref_init ()
 
   int fd = XConnectionNumber (dpy);
 
 
   int fd = XConnectionNumber (dpy);
 
-  // try to detect wether we have a local connection.
+  // try to detect whether we have a local connection.
   // assume unix domain socket == local, everything else not
   // TODO: might want to check for inet/127.0.0.1
   is_local = 0;
   // assume unix domain socket == local, everything else not
   // TODO: might want to check for inet/127.0.0.1
   is_local = 0;
@@ -490,7 +490,7 @@ bool rxvt_display::ref_init ()
 void
 rxvt_display::ref_next ()
 {
 void
 rxvt_display::ref_next ()
 {
-  // TODO: somehow check wether the database files/resources changed
+  // TODO: somehow check whether the database files/resources changed
   // before affording re-loading/parsing
   XrmDestroyDatabase (XrmGetDatabase (dpy));
   XrmSetDatabase (dpy, get_resources (true));
   // before affording re-loading/parsing
   XrmDestroyDatabase (XrmGetDatabase (dpy));
   XrmSetDatabase (dpy, get_resources (true));
index 6bb02cd..a232cc5 100644 (file)
@@ -372,7 +372,7 @@ for the filename):
 
 I<Note to xrdb users:> xrdb uses the C preprocessor, which might interpret
 the double C</> characters as comment start. Use C<\057\057> instead,
 
 I<Note to xrdb users:> xrdb uses the C preprocessor, which might interpret
 the double C</> characters as comment start. Use C<\057\057> instead,
-which works regardless of wether xrdb is used to parse the resource file
+which works regardless of whether xrdb is used to parse the resource file
 or not.
 
 =item macosx-clipboard and macosx-clipboard-native
 or not.
 
 =item macosx-clipboard and macosx-clipboard-native