repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 41e6a03626e027e271b74751a7d69c282d90b24b: path_to: revision_to:
commit 41e6a03626e027e271b74751a7d69c282d90b24b Author: Emanuele GiaquintaDate: Mon Jul 26 09:57:53 2010 +0000 Fix typos. diff --git a/src/background.C b/src/background.C
--- a/src/background.C
+++ b/src/background.C
@@ -850,7 +850,7 @@ bgPixmap_t::make_transparency_pixmap ()
if (target == NULL)
return 0;
- /* root dimentions may change from call to call - but Display structure should
+ /* root dimensions may change from call to call - but Display structure should
* be always up-to-date, so let's use it :
*/
Window root = target->display->root;
@@ -949,7 +949,7 @@ bgPixmap_t::make_transparency_pixmap ()
}
else
{
- /* strightforward pixmap copy */
+ /* straightforward pixmap copy */
gcv.tile = root_pixmap;
gcv.fill_style = FillTiled;
@@ -1188,7 +1188,7 @@ bgPixmap_t::render ()
# elif !XFT /* our own client-side tinting */
- /* ATTENTION: We ASSUME that XFT will let us do all the tinting neccessary server-side.
+ /* ATTENTION: We ASSUME that XFT will let us do all the tinting necessary server-side.
This may need to be changed in need_client_side_rendering() logic is altered !!! */
if (background_flags && (flags & isInvalid))
diff --git a/src/command.C b/src/command.C
--- a/src/command.C
+++ b/src/command.C
@@ -1485,12 +1485,12 @@ rxvt_term::x_cb (XEvent &ev)
case MapNotify:
#ifdef HAVE_BG_PIXMAP
- /* This is needed spcifically to fix the case of no window manager or a
+ /* This is needed specifically to fix the case of no window manager or a
* non-reparenting window manager. In those cases we never get first
* ConfigureNotify. Also that speeds startup under normal WM, by taking
- * care of multiplicity of ConfigureNotify events arriwing while WM does
+ * care of multiplicity of ConfigureNotify events arriving while WM does
* reparenting.
- * We should not render background immidiately, as there could be several
+ * We should not render background immediately, as there could be several
* ConfigureNotify's to follow. Lets take care of all of them in one scoop
* by scheduling background redraw as soon as we can, but giving a short
* bit of time for ConfigureNotifies to arrive.
@@ -1871,7 +1871,7 @@ rxvt_term::button_press (XButtonEvent &ev)
#ifdef MOUSE_REPORT_DOUBLECLICK
if (ev.button == MEvent.button && clickintime)
{
- /* same button, within alloted time */
+ /* same button, within allowed time */
MEvent.clicks++;
if (MEvent.clicks > 1)
diff --git a/src/keyboard.C b/src/keyboard.C
--- a/src/keyboard.C
+++ b/src/keyboard.C
@@ -54,7 +54,7 @@
* it is computed from hash_budget_size[]:
* index: 0 I1 I2 I3 In
* value: 0...0, N1, 0...0, N2, 0...0, N3, ..., Nn, 0...0
- * 0...0, 0.......0, N1.....N1, N1+N2...N1+N2, ... (the compution of hash[])
+ * 0...0, 0.......0, N1.....N1, N1+N2...N1+N2, ... (the computation of hash[])
* or we can say
* hash_budget_size[Ii] = Ni; hash_budget_size[elsewhere] = 0,
* where
@@ -150,7 +150,7 @@ compare_priority (keysym_t *a, keysym_t *b)
if (ca != cb)
return ca - cb;
-//else if (a->state != b->state) // this behavior is to be disscussed
+//else if (a->state != b->state) // this behavior is to be discussed
// return b->state - a->state;
else
return b->range - a->range;
diff --git a/src/main.C b/src/main.C
--- a/src/main.C
+++ b/src/main.C
@@ -385,7 +385,7 @@ print_x_error (Display *dpy, XErrorEvent *event)
char *mtype = "XlibMessage";
XGetErrorText(dpy, event->error_code, buffer, BUFSIZ);
XGetErrorDatabaseText(dpy, mtype, "XError", "X Error", mesg, BUFSIZ);
- rxvt_warn ("An X Error occured, trying to continue after report.\n");
+ rxvt_warn ("An X Error occurred, trying to continue after report.\n");
rxvt_warn ("%s: %s\n", mesg, buffer);
XGetErrorDatabaseText(dpy, mtype, "MajorCode", "Request Major code %d", mesg, BUFSIZ);
rxvt_warn (strncat (mesg, "\n", BUFSIZ), event->request_code);
diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h +++ b/src/rxvt.h @@ -809,7 +809,7 @@ struct overlay_base text_t **text; rend_t **rend; - // while tempting to add swap() etc. here, it effetcively only increases code size + // while tempting to add swap() etc. here, it effectively only increases code size }; /* ------------------------------------------------------------------------- */ diff --git a/src/rxvtutil.h b/src/rxvtutil.h
--- a/src/rxvtutil.h +++ b/src/rxvtutil.h @@ -22,7 +22,7 @@ using namespace std; #endif // put into ifs if you are very sure that the expression -// is mostly true or mosty false. note that these return +// is mostly true or mostly false. note that these return // booleans, not the expression. #define expect_false(expr) expect ((expr) != 0, 0) #define expect_true(expr) expect ((expr) != 0, 1) diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C +++ b/src/screen.C @@ -30,7 +30,7 @@ #include-#include "salloc.C" // HACK, should be a seperate compile! +#include "salloc.C" // HACK, should be a separate compile! static inline void fill_text (text_t *start, text_t value, int len)
-----END OF PAGE-----