Description: use correct spelling of occurred
 Use the correct spelling of occurred
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2016-03-26
Index: gle-graphics/src/gle/file_io.cpp
===================================================================
--- gle-graphics.orig/src/gle/file_io.cpp
+++ gle-graphics/src/gle/file_io.cpp
@@ -830,7 +830,7 @@ int GLESystem(const string& cmd, bool wa
 				}
 				int nbytes = write(pin[GLESYS_PIPE_WR], write_buffer+offs_write, to_write);
 				if (nbytes < 0) {
-					/* an error occured */
+					/* an error occurred */
 					if (errno != EAGAIN) {
 						GLECloseFD(pin, GLESYS_PIPE_WR);
 					}
@@ -844,7 +844,7 @@ int GLESystem(const string& cmd, bool wa
 			while (pout[GLESYS_PIPE_RD] >= 0) {
 				int nbytes = read(pout[GLESYS_PIPE_RD], read_buffer, GLEREAD_BUF);
 				if (nbytes < 0) {
-					/* an error occured */
+					/* an error occurred */
 					if (errno != EAGAIN) {
 						GLECloseFD(pout, GLESYS_PIPE_RD);
 					}
Index: gle-graphics/src/gui/dialogues.cpp
===================================================================
--- gle-graphics.orig/src/gui/dialogues.cpp
+++ gle-graphics/src/gui/dialogues.cpp
@@ -487,7 +487,7 @@ CrashRecoverDialogue::CrashRecoverDialog
 	setWindowIcon(QIcon(":images/gle_shadow.png"));
 	setWindowTitle(tr("GLE Internal Error"));
 	crashLogLines.append(QString("The following is the error code and memory location of the error."));
-	crashLogLines.append(QString("We use this to find the line in GLE's source code where the error occured."));
+	crashLogLines.append(QString("We use this to find the line in GLE's source code where the error occurred."));
 	crashLogLines.append(QString());
 	QFile myfile(file);
     if (myfile.open(QIODevice::ReadOnly | QIODevice::Text)) {
Index: gle-graphics/src/gui/gsinc/iapi.h
===================================================================
--- gle-graphics.orig/src/gui/gsinc/iapi.h
+++ gle-graphics/src/gui/gsinc/iapi.h
@@ -208,7 +208,7 @@ GSDLLEXPORT int GSDLLAPI gsapi_init_with
  * The gsapi_run_* functions are like gs_main_run_* except
  * that the error_object is omitted.
  * If these functions return <= -100, either quit or a fatal
- * error has occured.  You then call gsapi_exit() next.
+ * error has occurred.  You then call gsapi_exit() next.
  * The only exception is gsapi_run_string_continue()
  * which will return e_NeedInput if all is well.
  */
Index: gle-graphics/src/gui/main.cpp
===================================================================
--- gle-graphics.orig/src/gui/main.cpp
+++ gle-graphics/src/gui/main.cpp
@@ -197,7 +197,7 @@ LONG WINAPI MyUnhandledExceptionFilter(E
 	if (hLogFile == INVALID_HANDLE_VALUE) {
 		return EXCEPTION_CONTINUE_SEARCH;
 	}
-	// Find out module in which crash occured
+	// Find out module in which crash occurred
 	CONTEXT* Context = info->ContextRecord;
 	char szCrashModulePathName[MAX_PATH*2];
 	strcpy(szCrashModulePathName, "Unknown");
