emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/macgui.h


From: Steven Tamm
Subject: [Emacs-diffs] Changes to emacs/src/macgui.h
Date: Mon, 24 Jan 2005 12:59:39 -0500

Index: emacs/src/macgui.h
diff -c emacs/src/macgui.h:1.12 emacs/src/macgui.h:1.13
*** emacs/src/macgui.h:1.12     Mon Dec 27 17:27:30 2004
--- emacs/src/macgui.h  Mon Jan 24 17:59:36 2005
***************
*** 92,97 ****
--- 92,104 ----
    int descent;
  } XCharStruct;
  
+ #define STORE_XCHARSTRUCT(xcs, w, bds)                        \
+   ((xcs).width = (w),                                 \
+    (xcs).lbearing = (bds).left,                               \
+    (xcs).rbearing = (bds).right,                      \
+    (xcs).ascent = -(bds).top,                         \
+    (xcs).descent = (bds).bottom)
+ 
  struct MacFontStruct {
    char *fontname;
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]