Kuba,

> In files.c from 3.7.12, line 6113 looks as follows:
> 
> sprintf(_STR, "polygon\n", TOPOLY(savegen)->number);
> 
> Either the parameter should be removed, or the format string should be 
> changed.

It should be just

        sprintf(_STR, "polygon\n");

The missing "%hd" was separated out and moved up a number of lines to
make way for the optional "addtox" and/or "addtoy" that implements the
parameterized position of a whole polygon.

Thanks for catching the error.  I must be suppressing too many
warnings, because my compiler passed right over it.

                                        ---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: [email protected]    |
| Open Circuit Design, Inc.      | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to