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: Nardy Pillards
Subject: Re: [Bug-gnubg] Export to GammOnLine fails
Date: Wed, 23 Oct 2002 14:10:59 +0200

> Isn't it better to change the line in gnubg.c:
>
> lines 520-524
>
> }, acExportPosition[] = {
>     { "gammononline", CommandExportPositionGammOnline,
>       N_("Save the current position in .html format "
>          "(special for GammonOnline)"),
>
> to read:
>
> }, acExportPosition[] = {
>     { "gammonline", CommandExportPositionGammOnline,
>       N_("Save the current position in .html format "
>          "(special for GammOnline)"),
> -Øystein


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 );


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 },

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" );

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 ) {


Nardy





reply via email to

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