mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
(mac_draw_string_common): Fix compilation on OSX 10.1.
This commit is contained in:
parent
01917a18b4
commit
fc2ff44b47
2 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2005-01-16 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1.
|
||||
|
||||
2005-01-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* Implementation of GUI terminal on the Mac OS.
|
||||
Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Emacs.
|
||||
|
||||
|
|
@ -729,7 +729,7 @@ mac_draw_string_common (display, w, gc, x, y, buf, nchars, mode,
|
|||
int nchars, mode, bytes_per_char;
|
||||
{
|
||||
SetPortWindowPort (w);
|
||||
#ifdef MAC_OSX
|
||||
#ifdef MAC_OS_X_VERSION_10_2
|
||||
UInt32 textFlags, savedFlags;
|
||||
if (!NILP(Vmac_use_core_graphics)) {
|
||||
textFlags = kQDUseCGTextRendering;
|
||||
|
|
@ -746,7 +746,7 @@ mac_draw_string_common (display, w, gc, x, y, buf, nchars, mode,
|
|||
|
||||
MoveTo (x, y);
|
||||
DrawText (buf, 0, nchars * bytes_per_char);
|
||||
#ifdef MAC_OSX
|
||||
#ifdef MAC_OS_X_VERSION_10_2
|
||||
if (!NILP(Vmac_use_core_graphics))
|
||||
SwapQDTextFlags(savedFlags);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue