Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3400) change LOG_NORMAL to LOG_DEBUG
Home

[Freeciv-Dev] (PR#3400) change LOG_NORMAL to LOG_DEBUG

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: rt@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#3400) change LOG_NORMAL to LOG_DEBUG
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Feb 2003 12:21:53 -0800

In gui-gtk[-2.0]/citydlg.c, there are some LOG_NORMAL that are 
surrounded by #ifdef DEBUG.  These should clearly be LOG_DEBUG instead.

jason

Index: client/gui-gtk/citydlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/citydlg.c,v
retrieving revision 1.155
diff -u -r1.155 citydlg.c
--- client/gui-gtk/citydlg.c    2003/02/04 17:07:42     1.155
+++ client/gui-gtk/citydlg.c    2003/02/12 20:16:41
@@ -2802,11 +2802,11 @@
 
       gdk_window_get_geometry(pdialog->overview.map_canvas->window, &x, &y,
                              &width, &height, &depth);
-      freelog(LOG_NORMAL, "%d x %d at (%d,%d)", width, height, x, y);
+      freelog(LOG_DEBUG, "%d x %d at (%d,%d)", width, height, x, y);
 
       gdk_window_get_geometry(pdialog->overview.map_canvas_pixmap->window,
                              &x, &y, &width, &height, &depth);
-      freelog(LOG_NORMAL, "%d x %d at (%d,%d)", width, height, x, y);
+      freelog(LOG_DEBUG, "%d x %d at (%d,%d)", width, height, x, y);
     }
 #endif
     if (pdialog->overview.map_canvas == w
Index: client/gui-gtk-2.0/citydlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/citydlg.c,v
retrieving revision 1.27
diff -u -r1.27 citydlg.c
--- client/gui-gtk-2.0/citydlg.c        2003/02/04 22:13:27     1.27
+++ client/gui-gtk-2.0/citydlg.c        2003/02/12 20:16:45
@@ -2890,11 +2890,11 @@
 
       gdk_window_get_geometry(pdialog->overview.map_canvas->window, &x, &y,
                              &width, &height, &depth);
-      freelog(LOG_NORMAL, "%d x %d at (%d,%d)", width, height, x, y);
+      freelog(LOG_DEBUG, "%d x %d at (%d,%d)", width, height, x, y);
 
       gdk_window_get_geometry(pdialog->overview.map_canvas_pixmap->window,
                              &x, &y, &width, &height, &depth);
-      freelog(LOG_NORMAL, "%d x %d at (%d,%d)", width, height, x, y);
+      freelog(LOG_DEBUG, "%d x %d at (%d,%d)", width, height, x, y);
     }
 #endif
     if (pdialog->overview.map_canvas == w

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3400) change LOG_NORMAL to LOG_DEBUG, Jason Short <=