|
From: <set...@us...> - 2006-04-07 15:25:49
|
Revision: 1218 Author: sethdill Date: 2006-04-07 08:25:44 -0700 (Fri, 07 Apr 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1218&view=rev Log Message: ----------- Fixed crashing bug. Coerce langdialogwindow to a DialogPtr via carbon's provided casting function. (The crash was doing a select-all in Frontier's Find window on the Mac.) Modified Paths: -------------- Frontier/trunk/Common/source/langmodeless.c Modified: Frontier/trunk/Common/source/langmodeless.c =================================================================== --- Frontier/trunk/Common/source/langmodeless.c 2006-04-06 22:37:23 UTC (rev 1217) +++ Frontier/trunk/Common/source/langmodeless.c 2006-04-07 15:25:44 UTC (rev 1218) @@ -82,8 +82,9 @@ static boolean langdialogselectall (void) { + DialogPtr pdialog = GetDialogFromWindow (langdialogwindow); - return (dialogselectall ((DialogPtr) langdialogwindow)); + return (dialogselectall (pdialog)); } /*langdialogselectall*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |