bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Export to GammOnLine fails


From: Jim Segrave
Subject: Re: [Bug-gnubg] Export to GammOnLine fails
Date: Wed, 23 Oct 2002 15:24:26 +0200
User-agent: Mutt/1.4i

On Wed 23 Oct 2002 (14:10 +0200), Nardy Pillards wrote:
> All changes 'needed' to see GammOnLine in GNU Backgammon:
> 
> 1.
> gnubg.c, line 520 e.a.:
> 
> }, acExportPosition[] = {
>     { "gammononline", CommandExportPositionGammOnline,
>       N_("Save the current position in .html format "
>          "(special for GammonOnline)"),
> 
> to become:
> 
> }, acExportPosition[] = {
>     { "gammonline", CommandExportPositionGammOnLine,
>       N_("Save the current position in .html format "
>          "(special for GammOnLine)"),
> 
> 2. a.
> gtkgame.c, line 267:
> 
> static void ExportPositionGammOnline( gpointer *p, guint n, GtkWidget *pw );
> 
> to become:
> 
> static void ExportPositionGammOnLine( gpointer *p, guint n, GtkWidget *pw );
 
Am I missing something - these lines look suspiciously similar :-)

 
> 2. b.
> gtkgame.c, line 2079 e.a.:
> 
>  { N_("/_File/_Export/_Position/GammOnline (HTML)..."), NULL,
>    ExportPositionGammOnline, 0, NULL },
> 
> to become:
> 
>  { N_("/_File/_Export/_Position/GammOnLine (HTML)..."), NULL,
>    ExportPositionGammOnLine, 0, NULL },

as do these

> 2. c.
> gtkgame.c, line 3382 e.a.:
> 
> static void ExportPositionGammOnline( gpointer *p, guint n, GtkWidget *pw )
> {
> 
>   char *sz = getDefaultFileName ( PATH_HTML );
>   FileCommand( _("Export position to GammOnline (HTML)"),
>                sz, "export position gammonline", "html" );
> 
> to become:
> 
> static void ExportPositionGammOnLine( gpointer *p, guint n, GtkWidget *pw )
> {
> 
>   char *sz = getDefaultFileName ( PATH_HTML );
>   FileCommand( _("Export position to GammOnLine (HTML)"),
>                sz, "export position gammonline", "html" );

and these

> 3.
> backgammon.h, line 571:
> 
>     CommandExportPositionGammOnline ( char * ),
> 
> to become:
> 
>     CommandExportPositionGammOnLine ( char * ),
> 
> 4.
> html.c, line 3746 e.a.:
> 
> extern void
> CommandExportPositionGammOnline ( char *sz ) {
> 
> to become:
> 
> extern void
> CommandExportPositionGammOnLine ( char *sz ) {

I think you sort of missed the original text out in this listing.

-- 
Jim Segrave           address@hidden




reply via email to

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