Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] Running with Xaw (PR#20)
Home

Re: [Freeciv-Dev] Running with Xaw (PR#20)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: schaefer@xxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Running with Xaw (PR#20)
From: Nicolas Brunel <brunel@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jun 1999 14:10:52 +0000 (GMT)

Hello,

> Probably some kind of return value might be checked 
> and an error msg printed.
> 
>   XtGetApplicationResources(toplevel, &appResources, resources,
>                             XtNumber(resources), NULL, 0);
> 
>   loglevel = log_parse_level_str(appResources.loglevel_str);
>   if (loglevel==-1) {
>     exit(1);

   To be perfect, you can put a freelog(LOG_FATAL,"The ressource file
isn't the expected one.\nPlease rebuild Freeciv with an uptodate ressource
file.\n");

   I assume loglevel==-1 if and only if the ressource file is incorrect.
If I'm wrong, the message in freelog has to be changed.

Best regards, 


[Prev in Thread] Current Thread [Next in Thread]