Complete.Org: Mailing Lists: Archives: freeciv-dev: April 1999:
[Freeciv-Dev] little problem with log_init
Home

[Freeciv-Dev] little problem with log_init

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] little problem with log_init
From: Alan Schmitt <Alan.Schmitt@xxxxxxxx>
Date: Thu, 29 Apr 1999 14:48:14 +0000

Hi,

I just got from cvs the latest version of freeciv, and I had some
trouble to make it compile:
in client/gui-gtk/gui_main.c, line 326, there is:
  log_init(logfile? logfile :"civlog");
  log_set_level(loglevel);

and it does not compile because in common/log.c log_init wants 3
arguments

the following works

  log_init(logfile? logfile :"civlog",loglevel,NULL);

(I removed the log_set_level because it is already set by log_init).

There is also a little problem when the game starts: the window is not
refreshed and I only see the settler blinking (the rest of the window is
the Freeciv welcome image). I also have to manually recenter it (it is
in the upper left corner).

And thanks for the great work !

Alan Schmitt


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] little problem with log_init, Alan Schmitt <=