Author: cazfi Date: Thu Nov 17 15:11:23 2016 New Revision: 34548 URL: http://svn.gna.org/viewcvs/freeciv?rev=34548&view=rev Log: Added spaces around '!=' where ever they were still missing.
See patch #7995 Modified: trunk/ai/default/aisettler.c trunk/client/colors_common.c trunk/client/gui-gtk-2.0/gtkpixcomm.c trunk/client/helpdata.c Modified: trunk/ai/default/aisettler.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/aisettler.c?rev=34548&r1=34547&r2=34548&view=diff ============================================================================== --- trunk/ai/default/aisettler.c (original) +++ trunk/ai/default/aisettler.c Thu Nov 17 15:11:23 2016 @@ -767,7 +767,7 @@ /************************************************************************** Find nearest and best city placement in a PF iteration according to "parameter". The value in "boat_cost" is both the penalty to pay for - using a boat and an indicator (boat_cost!=0) if a boat was used at all. + using a boat and an indicator (boat_cost != 0) if a boat was used at all. The result is returned in "best". Return value is a 'struct cityresult' if found something better than what Modified: trunk/client/colors_common.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/colors_common.c?rev=34548&r1=34547&r2=34548&view=diff ============================================================================== --- trunk/client/colors_common.c (original) +++ trunk/client/colors_common.c Thu Nov 17 15:11:23 2016 @@ -1,4 +1,4 @@ -/********************************************************************** +/*********************************************************************** Freeciv - Copyright (C) 2005 - The Freeciv Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,9 +48,10 @@ colors->stdcolors = fc_calloc(COLOR_LAST, sizeof(*colors->stdcolors)); - for (stdcolor= color_std_begin(); stdcolor!= color_std_end(); - stdcolor= color_std_next(stdcolor)) { + for (stdcolor = color_std_begin(); stdcolor != color_std_end(); + stdcolor = color_std_next(stdcolor)) { struct rgbcolor *prgbcolor = NULL; + if (rgbcolor_load(file, &prgbcolor, "colors.%s0", color_std_name(stdcolor))) { *(colors->stdcolors + stdcolor) = prgbcolor; @@ -70,8 +71,8 @@ { enum color_std stdcolor; - for (stdcolor= color_std_begin(); stdcolor!= color_std_end(); - stdcolor= color_std_next(stdcolor)) { + for (stdcolor = color_std_begin(); stdcolor != color_std_end(); + stdcolor = color_std_next(stdcolor)) { rgbcolor_destroy(*(colors->stdcolors + stdcolor)); } Modified: trunk/client/gui-gtk-2.0/gtkpixcomm.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/gtkpixcomm.c?rev=34548&r1=34547&r2=34548&view=diff ============================================================================== --- trunk/client/gui-gtk-2.0/gtkpixcomm.c (original) +++ trunk/client/gui-gtk-2.0/gtkpixcomm.c Thu Nov 17 15:11:23 2016 @@ -256,7 +256,7 @@ gtk_pixcomm_expose(GtkWidget *widget, GdkEventExpose *ev) { fc_assert_ret_val(GTK_IS_PIXCOMM(widget), FALSE); - fc_assert_ret_val(ev!=NULL, FALSE); + fc_assert_ret_val(ev != NULL, FALSE); if (GTK_WIDGET_DRAWABLE(widget)) { GtkPixcomm *p; Modified: trunk/client/helpdata.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=34548&r1=34547&r2=34548&view=diff ============================================================================== --- trunk/client/helpdata.c (original) +++ trunk/client/helpdata.c Thu Nov 17 15:11:23 2016 @@ -949,7 +949,7 @@ sz_strlcat(long_buffer, _(para)); inserted = TRUE; } - if (inserted && i!=npara-1) { + if (inserted && i != npara - 1) { sz_strlcat(long_buffer, "\n\n"); } } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits