mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
add #ifdef to fix compile
This commit is contained in:
parent
3f3f9541b3
commit
4750280d44
1 changed files with 5 additions and 4 deletions
|
@ -43,7 +43,6 @@ PrefsFormHandleEvent( EventPtr event )
|
||||||
FormPtr form;
|
FormPtr form;
|
||||||
EventType eventToPost;
|
EventType eventToPost;
|
||||||
Int16 chosen;
|
Int16 chosen;
|
||||||
Boolean checked;
|
|
||||||
|
|
||||||
CALLBACK_PROLOGUE();
|
CALLBACK_PROLOGUE();
|
||||||
globals = getFormRefcon();
|
globals = getFormRefcon();
|
||||||
|
@ -97,12 +96,14 @@ PrefsFormHandleEvent( EventPtr event )
|
||||||
result = true;
|
result = true;
|
||||||
switch ( event->data.ctlSelect.controlID ) {
|
switch ( event->data.ctlSelect.controlID ) {
|
||||||
|
|
||||||
case XW_PREFS_NOHINTS_CHECKBOX_ID:
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
checked = getBooleanCtrl( XW_PREFS_NOHINTS_CHECKBOX_ID );
|
case XW_PREFS_NOHINTS_CHECKBOX_ID: {
|
||||||
|
Boolean checked = getBooleanCtrl( XW_PREFS_NOHINTS_CHECKBOX_ID );
|
||||||
disOrEnable( FrmGetActiveForm(), XW_PREFS_HINTRECT_CHECKBOX_ID,
|
disOrEnable( FrmGetActiveForm(), XW_PREFS_HINTRECT_CHECKBOX_ID,
|
||||||
!checked );
|
!checked );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case XW_PREFS_PHONIES_TRIGGER_ID:
|
case XW_PREFS_PHONIES_TRIGGER_ID:
|
||||||
chosen = LstPopupList( state->phoniesList );
|
chosen = LstPopupList( state->phoniesList );
|
||||||
if ( chosen >= 0 ) {
|
if ( chosen >= 0 ) {
|
||||||
|
|
Loading…
Reference in a new issue