[Freeciv-Dev] (PR#7373) Long lines with many spaces
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7373 >
Some files contain long long lines with trailing spaces. The attached
patch removed them.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Despite all the medical advances of the 20th century, the mortality
rate remains unchanged at 1 death per person."
Index: client/clinet.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/clinet.c,v
retrieving revision 1.94
diff -u -u -r1.94 clinet.c
--- client/clinet.c 2004/01/25 13:55:14 1.94
+++ client/clinet.c 2004/02/02 14:55:47
@@ -843,7 +843,7 @@
pserver->status = mystrdup(status);
pserver->players = mystrdup(players);
pserver->metastring = mystrdup(metastring);
-
+
server_list_insert(lan_servers, pserver);
} else {
return lan_servers;
Index: client/gui-gtk-2.0/diplodlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/diplodlg.c,v
retrieving revision 1.17
diff -u -u -r1.17 diplodlg.c
--- client/gui-gtk-2.0/diplodlg.c 2004/01/31 17:52:40 1.17
+++ client/gui-gtk-2.0/diplodlg.c 2004/02/02 14:55:47
@@ -365,7 +365,7 @@
gtk_widget_show_all(item);
}
}
-
+
/****************************************************************
...
*****************************************************************/
@@ -550,10 +550,10 @@
menubar = gtk_menu_bar_new();
gtk_table_attach_defaults(GTK_TABLE(table), menubar, 1, 2, 1, 2);
-
+
menu = gtk_menu_new();
pdialog->menu0 = menu;
-
+
menuitem = gtk_image_menu_item_new_with_mnemonic(_("_Add Clause..."));
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menuitem),
gtk_image_new_from_stock(GTK_STOCK_ADD,
@@ -562,8 +562,8 @@
gtk_menu_shell_append(GTK_MENU_SHELL(menubar), menuitem);
g_object_set_data(G_OBJECT(menu), "plr", plr0);
g_signal_connect(menu, "show", G_CALLBACK(popup_add_menu), pdialog);
-
+
/* them. */
vbox = gtk_vbox_new(FALSE, 18);
gtk_container_set_border_width(GTK_CONTAINER(vbox), 2);
@@ -606,10 +606,10 @@
menubar = gtk_menu_bar_new();
gtk_table_attach_defaults(GTK_TABLE(table), menubar, 1, 2, 1, 2);
-
+
menu = gtk_menu_new();
pdialog->menu1 = menu;
-
+
menuitem = gtk_image_menu_item_new_with_mnemonic(_("_Add Clause..."));
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menuitem),
gtk_image_new_from_stock(GTK_STOCK_ADD,
Index: client/gui-gtk-2.0/repodlgs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/repodlgs.c,v
retrieving revision 1.40
diff -u -u -r1.40 repodlgs.c
--- client/gui-gtk-2.0/repodlgs.c 2004/01/31 17:52:40 1.40
+++ client/gui-gtk-2.0/repodlgs.c 2004/02/02 14:55:48
@@ -1289,7 +1289,7 @@
N_("Literacy\n(%)"),
N_("Spaceship\n")
};
-
+
static GType model_types[NUM_SCORE_COLS] = {
G_TYPE_STRING,
G_TYPE_INT,
Index: common/aicore/aisupport.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/aicore/aisupport.c,v
retrieving revision 1.2
diff -u -u -r1.2 aisupport.c
--- common/aicore/aisupport.c 2003/11/15 14:38:07 1.2
+++ common/aicore/aisupport.c 2004/02/02 14:55:48
@@ -4,17 +4,17 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
***********************************************************************/
-
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-
+
#include "city.h"
#include "game.h"
#include "map.h"
Index: common/aicore/aisupport.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/aicore/aisupport.h,v
retrieving revision 1.1
diff -u -u -r1.1 aisupport.h
--- common/aicore/aisupport.h 2003/08/08 22:11:42 1.1
+++ common/aicore/aisupport.h 2004/02/02 14:55:48
@@ -4,7 +4,7 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Index: data/default/units.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/units.ruleset,v
retrieving revision 1.52
diff -u -u -r1.52 units.ruleset
--- data/default/units.ruleset 2004/01/11 17:45:05 1.52
+++ data/default/units.ruleset 2004/02/02 14:55:49
@@ -30,18 +30,18 @@
; What are the names of the levels?
veteran_names = _("green"), _("veteran")
-
+
; The percentage chance of increasing level through combat
veteran_raise_chance = 50, 0
-
+
; Power factors are as a percentage.
; +50% is represented by 150
veteran_power_fact = 100, 150
-
+
; The percentage chance of a settler/engineer increasing level through
; performing useful work (per turn)
veteran_work_raise_chance = 0, 0
-
+
; The chances of a trireme being lost at sea when not adjacent to a
; land tile.
veteran_highseas_loss_pct = 0, 0, 0, 0
Index: data/isotrident/units.spec
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/isotrident/units.spec,v
retrieving revision 1.5
diff -u -u -r1.5 units.spec
--- data/isotrident/units.spec 2004/01/10 15:30:09 1.5
+++ data/isotrident/units.spec 2004/02/02 14:55:49
@@ -77,7 +77,7 @@
2, 14, "u.worker"
; Veteran Levels: up to 9 military honors for experienced units
-
+
3, 10, "unit.vet_0"
3, 0, "unit.vet_1"
3, 1, "unit.vet_2"
Index: data/trident/tiles.spec
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/trident/tiles.spec,v
retrieving revision 1.13
diff -u -u -r1.13 tiles.spec
--- data/trident/tiles.spec 2003/11/20 22:05:26 1.13
+++ data/trident/tiles.spec 2004/02/02 14:55:50
@@ -455,7 +455,7 @@
17, 9, "city.t_food_9"
; Veteran Levels: up to 9 military honors for experienced units
-
+
17, 10, "unit.vet_0"
17, 11, "unit.vet_1"
17, 12, "unit.vet_2"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#7373) Long lines with many spaces,
Raimar Falke <=
|
|