diff -ru freeciv/ai/aicity.c freeciv+pasky/ai/aicity.c
--- freeciv/ai/aicity.c	Thu Oct  4 22:23:31 2001
+++ freeciv+pasky/ai/aicity.c	Sat Nov 24 20:26:37 2001
@@ -312,9 +312,10 @@
 static void try_to_sell_stuff(struct player *pplayer, struct city *pcity)
 {
   Impr_Type_id id;
+  
   for (id = 0; id < game.num_impr_types; id++) {
+    /* selling walls to buy defenders is counterproductive -- Syela */
     if (can_sell_building(pcity, id) && id != B_CITY) {
-/* selling walls to buy defenders is counterproductive -- Syela */
       really_handle_city_sell(pplayer, pcity, id);
       break;
     }
@@ -792,10 +793,10 @@
 static void ai_sell_obsolete_buildings(struct city *pcity)
 {
   Impr_Type_id i;
-
   struct player *pplayer = city_owner(pcity);
-  for (i=0;i<game.num_impr_types;i++) {
-    if(city_got_building(pcity, i) 
+  
+  for (i = 0; i < game.num_impr_types; i++) {
+    if (city_got_building(pcity, i) 
        && !is_wonder(i) 
        && i != B_CITY /* selling city walls is really, really dumb -- Syela */
        && (wonder_replacement(pcity, i) || building_unwanted(city_owner(pcity), i))) {
