Changeset a46e1ec in git


Ignore:
Timestamp:
08/03/15 00:56:23 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
1d50b99
Parents:
42fd3ef
Message:

src/message.c: Transliterate gradient and infinity symbols if the
current character set lacks them.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r42fd3ef ra46e1ec  
     1Sun Mar 08 00:55:56 GMT 2015  Olly Betts <olly@survex.com>
     2
     3        * src/message.c: Transliterate gradient and infinity symbols if the
     4          current character set lacks them.
     5
    16Sat Mar 07 10:36:43 GMT 2015  Olly Betts <olly@survex.com>
    27
  • src/message.c

    r42fd3ef ra46e1ec  
    724724    case 0x2192: /* &rarr; */
    725725      *p = '-'; p[1] = '>'; return 2;
     726    case 0x1d4d: /* gradient symbol */
     727      *p = 'g'; p[1] = 'r'; p[2] = 'd'; return 3;
     728    case 0x221e: /* infinity symbol */
     729      *p = 'i'; p[1] = 'n'; p[2] = 'f'; return 3;
    726730   }
    727731#ifdef DEBUG
Note: See TracChangeset for help on using the changeset viewer.