Author: cazfi
Date: Sat Jan 23 08:32:06 2016
New Revision: 31545

URL: http://svn.gna.org/viewcvs/freeciv?rev=31545&view=rev
Log:
Replaced all occurrences of word "occured" with "occurred"

Seen in Debian lintian reports

See bug #24331

Modified:
    trunk/client/gui-gtk-2.0/gui_stuff.c
    trunk/client/gui-gtk-3.0/gui_stuff.c
    trunk/client/gui-gtk-3.x/gui_stuff.c
    trunk/common/mapimg.c
    trunk/common/scriptcore/luascript.c
    trunk/m4/gtk-2.0.m4
    trunk/m4/sdl.m4
    trunk/m4/sdl2.m4
    trunk/server/cityturn.c
    trunk/server/sernet.c
    trunk/utility/registry_ini.c
    trunk/utility/section_file.c

Modified: trunk/client/gui-gtk-2.0/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/gui_stuff.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/client/gui-gtk-2.0/gui_stuff.c        (original)
+++ trunk/client/gui-gtk-2.0/gui_stuff.c        Sat Jan 23 08:32:06 2016
@@ -1103,7 +1103,7 @@
 
 /**************************************************************************
   Convenience function to add a column to a GtkTreeView. Returns the added
-  column, or NULL if an error occured.
+  column, or NULL if an error occurred.
 **************************************************************************/
 GtkTreeViewColumn *add_treeview_column(GtkWidget *view, const char *title,
                                        GType gtype, int model_index)

Modified: trunk/client/gui-gtk-3.0/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/gui_stuff.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/gui_stuff.c        (original)
+++ trunk/client/gui-gtk-3.0/gui_stuff.c        Sat Jan 23 08:32:06 2016
@@ -1067,7 +1067,7 @@
 
 /**************************************************************************
   Convenience function to add a column to a GtkTreeView. Returns the added
-  column, or NULL if an error occured.
+  column, or NULL if an error occurred.
 **************************************************************************/
 GtkTreeViewColumn *add_treeview_column(GtkWidget *view, const char *title,
                                        GType gtype, int model_index)

Modified: trunk/client/gui-gtk-3.x/gui_stuff.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/gui_stuff.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/gui_stuff.c        (original)
+++ trunk/client/gui-gtk-3.x/gui_stuff.c        Sat Jan 23 08:32:06 2016
@@ -1067,7 +1067,7 @@
 
 /**************************************************************************
   Convenience function to add a column to a GtkTreeView. Returns the added
-  column, or NULL if an error occured.
+  column, or NULL if an error occurred.
 **************************************************************************/
 GtkTreeViewColumn *add_treeview_column(GtkWidget *view, const char *title,
                                        GType gtype, int model_index)

Modified: trunk/common/mapimg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/mapimg.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/common/mapimg.c       (original)
+++ trunk/common/mapimg.c       Sat Jan 23 08:32:06 2016
@@ -1510,7 +1510,7 @@
 
         if (!img_save(pimg, mapimgfile, path)) {
           /* If one of the mapimg format/toolkit combination fail, return
-           * FALSE, i.e. an error occured. */
+           * FALSE, i.e. an error occurred. */
           ret = FALSE;
         }
       }

Modified: trunk/common/scriptcore/luascript.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/scriptcore/luascript.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/common/scriptcore/luascript.c (original)
+++ trunk/common/scriptcore/luascript.c Sat Jan 23 08:32:06 2016
@@ -493,7 +493,7 @@
 
 /*****************************************************************************
   Evaluate a Lua function call or loaded script on the stack.
-  Return nonzero if an error occured.
+  Return nonzero if an error occurred.
 
   If available pass the source code string as code, else NULL.
 

Modified: trunk/m4/gtk-2.0.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/m4/gtk-2.0.m4?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/m4/gtk-2.0.m4 (original)
+++ trunk/m4/gtk-2.0.m4 Sat Jan 23 08:32:06 2016
@@ -171,7 +171,7 @@
          echo "***"
           echo "*** If you have an old version installed, it is best to remove 
it, although"
           echo "*** you may also be able to get things to work by modifying 
LD_LIBRARY_PATH" ],[ echo "*** The test program failed to compile or link. See 
the file config.log for the"
-          echo "*** exact error that occured. This usually means GTK+ is 
incorrectly installed."])
+          echo "*** exact error that occurred. This usually means GTK+ is 
incorrectly installed."])
           CFLAGS="$ac_save_CFLAGS"
           LIBS="$ac_save_LIBS"
        fi

Modified: trunk/m4/sdl.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/m4/sdl.m4?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/m4/sdl.m4     (original)
+++ trunk/m4/sdl.m4     Sat Jan 23 08:32:06 2016
@@ -167,7 +167,7 @@
          echo "***"
           echo "*** If you have an old version installed, it is best to remove 
it, although"
           echo "*** you may also be able to get things to work by modifying 
LD_LIBRARY_PATH"],[ echo "*** The test program failed to compile or link. See 
the file config.log for the"
-          echo "*** exact error that occured. This usually means SDL was 
incorrectly installed"
+          echo "*** exact error that occurred. This usually means SDL was 
incorrectly installed"
           echo "*** or that you have moved SDL since it was installed. In the 
latter case, you"
           echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
           CFLAGS="$ac_save_CFLAGS"

Modified: trunk/m4/sdl2.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/m4/sdl2.m4?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/m4/sdl2.m4    (original)
+++ trunk/m4/sdl2.m4    Sat Jan 23 08:32:06 2016
@@ -190,7 +190,7 @@
           echo "*** If you have an old version installed, it is best to remove 
it, although"
           echo "*** you may also be able to get things to work by modifying 
LD_LIBRARY_PATH"],
         [ echo "*** The test program failed to compile or link. See the file 
config.log for the"
-          echo "*** exact error that occured. This usually means SDL2 was 
incorrectly installed"
+          echo "*** exact error that occurred. This usually means SDL2 was 
incorrectly installed"
           echo "*** or that you have moved SDL2 since it was installed. In the 
latter case, you"
           echo "*** may want to edit the sdl2-config script: $SDL2_CONFIG" ])
           CFLAGS="$ac_save_CFLAGS"

Modified: trunk/server/cityturn.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/cityturn.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/server/cityturn.c     (original)
+++ trunk/server/cityturn.c     Sat Jan 23 08:32:06 2016
@@ -3349,7 +3349,7 @@
   Do the migrations between the cities that overlap, if the growth of the
   target city is not blocked due to a missing improvement or missing food.
 
-  Returns TRUE if migration occured.
+  Returns TRUE if migration occurred.
 **************************************************************************/
 static bool do_city_migration(struct city *pcity_from,
                               struct city *pcity_to)

Modified: trunk/server/sernet.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/sernet.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/server/sernet.c       (original)
+++ trunk/server/sernet.c       Sat Jan 23 08:32:06 2016
@@ -311,7 +311,7 @@
       lost_connection_to_client(pconn);
       close_connection(pconn);
     }
-  } while (0 < num); /* May some errors occured, let's check. */
+  } while (0 < num); /* May some errors occurred, let's check. */
 }
 
 /****************************************************************************

Modified: trunk/utility/registry_ini.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/registry_ini.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/utility/registry_ini.c        (original)
+++ trunk/utility/registry_ini.c        Sat Jan 23 08:32:06 2016
@@ -1797,7 +1797,7 @@
   for(i = 0; i < *dim; i++) {
     if (!secfile_lookup_bool(secfile, vec + i, "%s,%d", fullpath, (int) i)) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;
@@ -1944,7 +1944,7 @@
   for(i = 0; i < *dim; i++) {
     if (!secfile_lookup_int(secfile, vec + i, "%s,%d", fullpath, (int) i)) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;
@@ -2105,7 +2105,7 @@
     if (!(vec[i] = secfile_lookup_str(secfile, "%s,%d",
                                       fullpath, (int) i))) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;
@@ -2245,7 +2245,7 @@
                                         by_name_fn, "%s,%d",
                                         fullpath, (int) i)) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;
@@ -2428,7 +2428,7 @@
                                           by_name_fn, "%s,%d",
                                           fullpath, (int) i)) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;
@@ -2642,7 +2642,7 @@
     if (!secfile_lookup_enum_data(secfile, vec + i, bitwise, name_fn, data,
                                   "%s,%d", fullpath, (int) i)) {
       SECFILE_LOG(secfile, NULL,
-                  "An error occured when looking up to \"%s,%d\" entry.",
+                  "An error occurred when looking up to \"%s,%d\" entry.",
                   fullpath, (int) i);
       free(vec);
       *dim = 0;

Modified: trunk/utility/section_file.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/section_file.c?rev=31545&r1=31544&r2=31545&view=diff
==============================================================================
--- trunk/utility/section_file.c        (original)
+++ trunk/utility/section_file.c        Sat Jan 23 08:32:06 2016
@@ -31,7 +31,7 @@
 #define DEBUG_ENTRIES(...) /* log_debug(__VA_ARGS__); */
 
 /**************************************************************************
-  Returns the last error which occured in a string.  It never returns NULL.
+  Returns the last error which occurred in a string.  It never returns NULL.
 **************************************************************************/
 const char *secfile_error(void)
 {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to