diff options
Diffstat (limited to 'src/CrCmap.c')
-rw-r--r-- | src/CrCmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CrCmap.c b/src/CrCmap.c index 4414b1f..b92601d 100644 --- a/src/CrCmap.c +++ b/src/CrCmap.c @@ -314,7 +314,7 @@ readwrite_map(Display *dpy, XVisualInfo *vinfo, XStandardColormap *colormap) #undef calc } /* We have a read-only map defined. Now free unused cells, - * first those occuring before the contiguous sequence begins, + * first those occurring before the contiguous sequence begins, * then any following the contiguous sequence. */ @@ -457,7 +457,7 @@ free_cells(Display *dpy, Colormap cmap, unsigned long pixels[], { /* One of the npixels allocated has already been freed. * p is the index of the freed pixel. - * First free the pixels preceeding p, and there are p of them; + * First free the pixels preceding p, and there are p of them; * then free the pixels following p, there are npixels - p - 1 of them. */ XFreeColors(dpy, cmap, pixels, p, (unsigned long) 0); |