Skip to content

Commit

Permalink
a few more minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed Nov 20, 2024
1 parent 1933383 commit 0db7dc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/emacs.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,11 @@ main(int argc, char **argv)
char *original_pwd = 0;

#if defined(DEBUG) || defined(VERBOSE) || defined(_DEBUG) || defined(__APPLE__)
printf("%s, line %d: Hello.\n", __FILE__, __LINE__);
# if defined(__FUNCTION__) || defined(__GNUC__)
printf("%s, line %d: Hello from %s.\n", __FILE__, __LINE__, __FUNCTION__);
# else
printf("%s, line %d: Hello, here we go.\n", __FILE__, __LINE__);
# endif /* __FUNCTION__ || __GNUC__ */
#endif /* DEBUG || VERBOSE || _DEBUG || __APPLE__ */

#if GC_MARK_STACK
Expand Down
3 changes: 2 additions & 1 deletion src/nsfont.m
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,8 @@ Properties to be considered are same as for list(). */
traits |= NSItalicFontMask;
}

/* see <http://cocoadev.com/forums/comments.php?DiscussionID=74> */
/* see the following forum thread archived to the WBM on Feb 01, 2010:
* http://web.archive.org/web/20100201175731/http://cocoadev.com/forums/comments.php?DiscussionID=74 */
fixLeopardBug = ((traits & NSBoldFontMask) ? 10 : 5);
nsfont = [fontMgr fontWithFamily: family
traits: traits weight: fixLeopardBug
Expand Down

0 comments on commit 0db7dc2

Please sign in to comment.