Rather than the urlencode function you can use a glib function. I think
g_uri_escape_string is the one required.
The test printf line is included in this diff. Also the other call the printf
should be change to a Output type line.
Jon
On 09/04/2010 12:24, 保坂範行 wrote:
> Hi.
>
> I wrote a patch to support image.backgammonbase.com url generation.
>
> What it does:
> Let you copy position as an url, using image.backgammonbase.com.
>
> Motivation:
> 2009 World Champion Mochy requested me to ease use of
> image.backgammonbase.com
> This site needs gnubgid, but gnubg do not proved it in UI to copy & paste.
> With this patch, only single step of copy and paste from edit menu,
> let user to generate a URL for intended position image.
>
> Reference:
> http://image.backgammonbase.com/form
>
>
> Nori
>
>
>
> _______________________________________________
> Bug-gnubg mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg