From c10c4a40faba9939744526dc5e5e7964406f293d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 11 Jul 2008 08:53:01 +0000 Subject: [PATCH] (Fx_server_version): Don't use gestaltSystemVersionMajor, gestaltSystemVersionMinor, or gestaltSystemVersionBugFix. --- src/macfns.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/macfns.c b/src/macfns.c index d66c56e6d84..23b6d60c8d5 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -2947,11 +2947,11 @@ If omitted or nil, that stands for the selected frame's display. */) { if (response >= 0x00001040) { - err = Gestalt (gestaltSystemVersionMajor, &major); + err = Gestalt ('sys1', &major); if (err == noErr) - err = Gestalt (gestaltSystemVersionMinor, &minor); + err = Gestalt ('sys2', &minor); if (err == noErr) - err = Gestalt (gestaltSystemVersionBugFix, &bugfix); + err = Gestalt ('sys3', &bugfix); } else { -- 2.11.4.GIT