Commit Graph

7 Commits

Author SHA1 Message Date
Jon Trulson 383b5e4b59 dtstyle: fix bugs preventing SM save from working properly
All of the dtstyle session save routines used sprintf/snprintf whereby
the destination buffer was also a source buffer, like so:

snprintf(bufr, sizeof(style.tmpBigStr), "%s*Fonts.x: %d\n", bufr, x);
         ^^^^                            ^^                 ^^^^

That results in undefined behavior, which mainly meant missing or
currupted XRM resources being saved in the session file for dtstyle.
2022-02-26 15:51:09 -07:00
Liang Chang a52f988e47 dtstyle: fix window functions. 2022-02-26 02:10:00 +00:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Ulrich Wilkens 8b38d9ea49 Fix broken build on OpenBSD 2015-05-09 16:21:32 -06:00
alx 2c162726c7 dtstyle: enable palette editor on true/direct color screens 2014-03-22 18:00:56 -06:00
Peter Howkins c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins 83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00