Mercurial > dwindows
comparison mac/dw.m @ 2263:176470d75695
Remove the font test with Italic before Bold. This does not work on OS/2.
Most platforms should function in either order, but on OS/2 it much match
the order reported by the system. Not sure if it is worth the effort to
make it not care about the order on OS/2. Also update the readme and
Also correct a copy and paste error in a Mac code comment.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 27 Jan 2021 20:54:26 +0000 |
parents | fe64be23680e |
children | 3361ce6070ce |
comparison
equal
deleted
inserted
replaced
2262:fe64be23680e | 2263:176470d75695 |
---|---|
10216 * Returns: | 10216 * Returns: |
10217 * A malloced buffer with the selected font or NULL on error. | 10217 * A malloced buffer with the selected font or NULL on error. |
10218 */ | 10218 */ |
10219 char * API dw_font_choose(const char *currfont) | 10219 char * API dw_font_choose(const char *currfont) |
10220 { | 10220 { |
10221 /* Create the Color Chooser Dialog class. */ | 10221 /* Create the Font Chooser Dialog class. */ |
10222 static DWFontChoose *fontDlg = nil; | 10222 static DWFontChoose *fontDlg = nil; |
10223 DWDialog *dialog; | 10223 DWDialog *dialog; |
10224 NSFont *font = nil; | 10224 NSFont *font = nil; |
10225 | 10225 |
10226 if(currfont) | 10226 if(currfont) |