Hello Charles,

It looks like the "sprintf" call in "menucalls.c". Your "cstr[5]" is sprintf'd to as "%5d", and this results in six actual characters being written (including the null). But I'm guessing you know that.

And although you don't say so, I'm guessing that changing cstr[5]
to cstr[6] fixes it, which change I have already made to the git
repository.

Thanks for tracking it down!
                                                ---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