From: sf-exg Date: Wed, 31 Mar 2010 13:14:50 +0000 (+0000) Subject: Fix typos. X-Git-Url: http://git.openbox.org/?p=dana%2Furxvt.git;a=commitdiff_plain;h=01b143f5a9b2d9e8f0310d47b739f8fba7cda5c1 Fix typos. --- diff --git a/configure.ac b/configure.ac index 95a7ea2..2cbb05a 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,7 @@ AC_GNU_SOURCE 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++]) diff --git a/src/command.C b/src/command.C index ebbbb84..e331bde 100644 --- a/src/command.C +++ b/src/command.C @@ -1035,7 +1035,7 @@ rxvt_term::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 () { diff --git a/src/main.C b/src/main.C index c0aefd7..f9fd82e 100644 --- a/src/main.C +++ b/src/main.C @@ -103,7 +103,7 @@ text_t rxvt_composite_vec::compose (unicode_t c1, unicode_t c2) 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) diff --git a/src/rxvt.h b/src/rxvt.h index bd205be..8530565 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -988,9 +988,9 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen #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, diff --git a/src/rxvtfont.C b/src/rxvtfont.C index 9a38cfc..42fa49a 100644 --- a/src/rxvtfont.C +++ b/src/rxvtfont.C @@ -501,7 +501,7 @@ struct rxvt_font_x11 : rxvt_font { 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; @@ -917,7 +917,7 @@ rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &car 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) @@ -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; - // 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); diff --git a/src/rxvtfont.h b/src/rxvtfont.h index ed20a2e..78276b5 100644 --- a/src/rxvtfont.h +++ b/src/rxvtfont.h @@ -34,7 +34,7 @@ struct rxvt_font 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, diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index 5f70647..c1ba37c 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -466,7 +466,7 @@ bool rxvt_display::ref_init () 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; @@ -490,7 +490,7 @@ bool rxvt_display::ref_init () 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)); diff --git a/src/urxvt.pm b/src/urxvt.pm index 6bb02cd..a232cc5 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -372,7 +372,7 @@ for the filename): I 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