mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-19 22:26:57 +01:00
it's ok for there to be no form yet
This commit is contained in:
parent
93303973e3
commit
98fd464f3d
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ getFormRefcon()
|
|||
{
|
||||
void* result = NULL;
|
||||
FormPtr form = FrmGetFormPtr( XW_MAIN_FORM );
|
||||
XP_ASSERT( !!form );
|
||||
|
||||
if ( !!form ) {
|
||||
UInt16 index = FrmGetObjectIndex( form, REFCON_GADGET_ID );
|
||||
result = FrmGetGadgetData( form, index );
|
||||
|
|
Loading…
Reference in a new issue