[Pkg-wmaker-commits] [wmaker] 06/24: wmaker: Fix typos (used codespell).
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Mar 24 20:09:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmaker.
commit 42e406954162caada2d44cf41b01a68579478b22
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Sun Jan 17 15:47:49 2016 -0500
wmaker: Fix typos (used codespell).
---
src/actions.c | 2 +-
src/balloon.c | 2 +-
src/defaults.c | 2 +-
src/dialog.c | 2 +-
src/dock.c | 2 +-
src/event.c | 6 +++---
src/placement.c | 2 +-
src/session.c | 2 +-
src/stacking.c | 2 +-
src/startup.c | 8 ++++----
src/usermenu.c | 2 +-
src/wconfig.h.in | 2 +-
src/window.c | 6 +++---
src/winmenu.c | 2 +-
src/winspector.c | 2 +-
src/xutil.c | 2 +-
16 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/actions.c b/src/actions.c
index b210888..f46e586 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1136,7 +1136,7 @@ void wIconifyWindow(WWindow *wwin)
wwin->icon = icon_create_for_wwindow(wwin);
wwin->icon->mapped = 1;
- /* extract the window screenshot everytime, as the option can be enable anytime */
+ /* extract the window screenshot every time, as the option can be enable anytime */
if (wwin->client_win && wwin->flags.mapped) {
RImage *mini_preview;
XImage *pimg;
diff --git a/src/balloon.c b/src/balloon.c
index 1e05ca7..e649f98 100644
--- a/src/balloon.c
+++ b/src/balloon.c
@@ -535,7 +535,7 @@ static void appiconBalloon(WObjDescriptor *object)
/*
* Check to see if it is a GNUstep app, because in this case we use the instance
* instead of the class, otherwise the user will not be able to distinguish what
- * is being refered.
+ * is being referred.
*/
if (strcmp(aicon->wm_class, "GNUstep") == 0)
display_name = aicon->wm_instance;
diff --git a/src/defaults.c b/src/defaults.c
index caa428e..0a859ca 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -545,7 +545,7 @@ WDefaultEntry optionList[] = {
{"WorkspaceSpecificBack", "()", NULL,
NULL, getWSSpecificBackground, setWorkspaceSpecificBack, NULL, NULL},
/* WorkspaceBack must come after WorkspaceSpecificBack or
- * WorkspaceBack wont know WorkspaceSpecificBack was also
+ * WorkspaceBack won't know WorkspaceSpecificBack was also
* specified and 2 copies of wmsetbg will be launched */
{"WorkspaceBack", "(solid, black)", NULL,
NULL, getWSBackground, setWorkspaceBack, NULL, NULL},
diff --git a/src/dialog.c b/src/dialog.c
index 2efb695..b9437c2 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -1629,7 +1629,7 @@ int wShowCrashingDialogPanel(int whatSig)
WMMoveWidget(panel->note2L, 10, 130);
WMSetLabelTextAlignment(panel->note2L, WALeft);
snprintf(buf, sizeof(buf), /* Comment for the PO file: the %s is an email address */
- _(" This fatal error occured probably due to a bug."
+ _(" This fatal error occurred probably due to a bug."
" Please fill the included BUGFORM and report it to %s."),
PACKAGE_BUGREPORT);
WMSetLabelText(panel->note2L, buf);
diff --git a/src/dock.c b/src/dock.c
index 3b3313b..c26436a 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -4650,7 +4650,7 @@ static int indexOfHole(WDock *drawer, WAppIcon *moving_aicon, int redocking)
* that's where the ghost of the moving appicon is, that's what the
* function should return.
*
- * We compute 1+2+...+n (this sum is equal to n*(n+1)/2), we substract to
+ * We compute 1+2+...+n (this sum is equal to n*(n+1)/2), we subtract to
* this sum the xindex of each of the n-1 appicons, and we get the correct
* index! */
diff --git a/src/event.c b/src/event.c
index e7ee074..800cc87 100644
--- a/src/event.c
+++ b/src/event.c
@@ -329,7 +329,7 @@ static void handle_inotify_events(void)
return;
}
- /* check what events occured */
+ /* check what events occurred */
/* Should really check wd here too, but for now we only have one watch! */
while (i < eventQLength) {
struct inotify_event *pevent = (struct inotify_event *)&buff[i];
@@ -408,7 +408,7 @@ noreturn void EventLoop(void)
/* check for available read data from inotify - don't block! */
retVal = select(w_global.inotify.fd_event_queue + 1, &rfds, NULL, NULL, &time);
- if (retVal < 0) { /* an error has occured */
+ if (retVal < 0) { /* an error has occurred */
wwarning(_("select failed. The inotify instance will be closed."
" Changes to the defaults database will require"
" a restart to take effect."));
@@ -1310,7 +1310,7 @@ static void handleColormapNotify(XEvent * event)
/* some bastard app (like XV) removed our colormap */
/*
- * can't enforce or things like xscreensaver wont work
+ * can't enforce or things like xscreensaver won't work
* reinstall = True;
*/
} else if (event->xcolormap.state == ColormapInstalled &&
diff --git a/src/placement.c b/src/placement.c
index b801c9c..62fcb30 100644
--- a/src/placement.c
+++ b/src/placement.c
@@ -546,7 +546,7 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret, unsigned width, unsigned
/*
* clip to usableArea instead of full screen
* this will also take dock/clip etc.. into account
- * aswell as being xinerama friendly
+ * as well as being xinerama friendly
*/
if (*x_ret + width > usableArea.x2)
*x_ret = usableArea.x2 - width;
diff --git a/src/session.c b/src/session.c
index 90109a3..888d4a5 100644
--- a/src/session.c
+++ b/src/session.c
@@ -303,7 +303,7 @@ void wSessionSaveState(WScreen * scr)
if (win_info != NULL) {
WMAddToPLArray(list, win_info);
WMReleasePropList(win_info);
- /* If we were succesful in saving the info for this window
+ /* If we were successful in saving the info for this window
* add the application the window belongs to, to the
* application list, so no multiple entries for the same
* application are saved.
diff --git a/src/stacking.c b/src/stacking.c
index d7daf17..d4224cc 100644
--- a/src/stacking.c
+++ b/src/stacking.c
@@ -312,7 +312,7 @@ void wLowerFrame(WCoreWindow * frame)
if (wlist->stacking->under == NULL) {
return;
}
- /* cant lower transient below below its owner */
+ /* can't lower transient below below its owner */
if (wlist->stacking->under == wlist->stacking->child_of) {
return;
}
diff --git a/src/startup.c b/src/startup.c
index 8e633b8..985f066 100644
--- a/src/startup.c
+++ b/src/startup.c
@@ -160,7 +160,7 @@ static RETSIGTYPE handleExitSig(int sig)
}
sigprocmask(SIG_UNBLOCK, &sigs, NULL);
- DispatchEvent(NULL); /* Dispatch events imediately. */
+ DispatchEvent(NULL); /* Dispatch events immediately. */
}
/* Dummy signal handler */
@@ -532,7 +532,7 @@ void StartUp(Bool defaultScreenOnly)
/* ignore dead pipe */
/* Because POSIX mandates that only signal with handlers are reset
- * accross an exec*(), we do not want to propagate ignoring SIGPIPEs
+ * across an exec*(), we do not want to propagate ignoring SIGPIPEs
* to children. Hence the dummy handler.
* Philippe Troin <phil at fifi.org>
*/
@@ -548,9 +548,9 @@ void StartUp(Bool defaultScreenOnly)
/* Now we unblock all signals, that may have been blocked by the parent
* who exec()-ed us. This can happen for example if Window Maker crashes
* and restarts itself or another window manager from the signal handler.
- * In this case, the new proccess inherits the blocked signal mask and
+ * In this case, the new process inherits the blocked signal mask and
* will no longer react to that signal, until unblocked.
- * This is because the signal handler of the proccess who crashed (parent)
+ * This is because the signal handler of the process who crashed (parent)
* didn't return, and the signal remained blocked. -Dan
*/
sigfillset(&sig_action.sa_mask);
diff --git a/src/usermenu.c b/src/usermenu.c
index b5c0cfe..7bf6ed1 100644
--- a/src/usermenu.c
+++ b/src/usermenu.c
@@ -31,7 +31,7 @@
* - external! WINGs menu editor.
* TODONOT
* - allow applications to share their menu. ] think it
- * looks wierd since there still are more than 1 appicon.
+ * looks weird since there still are more than 1 appicon.
*
* Syntax...
* (
diff --git a/src/wconfig.h.in b/src/wconfig.h.in
index bac5072..85d0cf5 100644
--- a/src/wconfig.h.in
+++ b/src/wconfig.h.in
@@ -188,7 +188,7 @@
#define SINGLE_MENULEVEL
/* max. time to spend doing animations in seconds. If the animation
- * time exceeds this value, it is immediately finished. Usefull for
+ * time exceeds this value, it is immediately finished. Useful for
* moments of high-load. DO NOT set *_DELAY_{Z,T,F} to zero!
*/
#define MAX_ANIMATION_TIME 1
diff --git a/src/window.c b/src/window.c
index 532670c..6e22765 100644
--- a/src/window.c
+++ b/src/window.c
@@ -781,7 +781,7 @@ WWindow *wManageWindow(WScreen *scr, Window window)
#define ADEQUATE(x) ((x)!=None && (x)!=wwin->client_win && (x)!=fPtr->leader)
- /* // only enter here if PropGetWMClass() succeds */
+ /* // only enter here if PropGetWMClass() succeeds */
PropGetWMClass(wwin->main_window, &class, &instance);
buffer = StrConcatDot(instance, class);
@@ -1241,7 +1241,7 @@ WWindow *wManageWindow(WScreen *scr, Window window)
* the window focusing (if the mouse is over that window)
* will be processed by wmaker.
* But since this event will be rather delayed
- * (step 3 has a large delay) the time when the event ocurred
+ * (step 3 has a large delay) the time when the event occurred
* and when it is processed, the client that owns that window
* will reject the XSetInputFocus() for it.
*/
@@ -2574,7 +2574,7 @@ void wWindowResetMouseGrabs(WWindow * wwin)
/* Mouse grabs can't be done on the client window because of
* ICCCM and because clients that try to do the same will crash.
*
- * But there is a problem wich makes tbar buttons of unfocused
+ * But there is a problem which makes tbar buttons of unfocused
* windows not usable as the click goes to the frame window instead
* of the button itself. Must figure a way to fix that.
*/
diff --git a/src/winmenu.c b/src/winmenu.c
index c7da09d..6f090e3 100644
--- a/src/winmenu.c
+++ b/src/winmenu.c
@@ -527,7 +527,7 @@ static WMenu *makeWorkspaceMenu(WScreen * scr)
* The Workspace Menu is made visible in the screen structure because
* it is updated when there is a change on workspaces. This was done
* to be efficient, avoiding re-generating completely the window menu
- * and its sub-menus everytime it is needed.
+ * and its sub-menus every time it is needed.
*/
scr->workspace_submenu = menu;
diff --git a/src/winspector.c b/src/winspector.c
index 0d6d57d..e3d8f7f 100644
--- a/src/winspector.c
+++ b/src/winspector.c
@@ -235,7 +235,7 @@ static InspectorPanel *panelList = NULL;
* save the user choice to the database, but as we will need to convert that name into a Property
* List, we use here a Cache of Property Lists, generated only once, which can be reused. It will
* also save on memory because of the re-use of the same storage space instead of allocating a new
- * one everytime.
+ * one every time.
*/
static WMPropList *pl_attribute[sizeof(window_attribute) / sizeof(window_attribute[0])] = { [0] = NULL };
static WMPropList *pl_advoptions[sizeof(advanced_option) / sizeof(advanced_option[0])];
diff --git a/src/xutil.c b/src/xutil.c
index 2432d81..21d3c04 100644
--- a/src/xutil.c
+++ b/src/xutil.c
@@ -1,5 +1,5 @@
/*
- * WindowMaker miscelaneous functions
+ * WindowMaker miscellaneous functions
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmaker.git
More information about the Pkg-wmaker-commits
mailing list