summaryrefslogtreecommitdiffstats
path: root/nsplugins/viewer/viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nsplugins/viewer/viewer.cpp')
-rw-r--r--nsplugins/viewer/viewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/nsplugins/viewer/viewer.cpp b/nsplugins/viewer/viewer.cpp
index 6007e5b0e..488168b4d 100644
--- a/nsplugins/viewer/viewer.cpp
+++ b/nsplugins/viewer/viewer.cpp
@@ -152,7 +152,7 @@ bool qt_set_socket_handler( int sockfd, int type, TQObject *obj, bool enable )
#if defined(CHECK_RANGE)
tqWarning( "TQSocketNotifier: Internal error" );
#endif
- return FALSE;
+ return false;
}
XtPointer inpMask = 0;
@@ -161,7 +161,7 @@ bool qt_set_socket_handler( int sockfd, int type, TQObject *obj, bool enable )
case TQSocketNotifier::Read: inpMask = (XtPointer)XtInputReadMask; break;
case TQSocketNotifier::Write: inpMask = (XtPointer)XtInputWriteMask; break;
case TQSocketNotifier::Exception: inpMask = (XtPointer)XtInputExceptMask; break;
- default: return FALSE;
+ default: return false;
}
if (enable) {
@@ -197,13 +197,13 @@ bool qt_set_socket_handler( int sockfd, int type, TQObject *obj, bool enable )
while ( sn && !(sn->obj == obj && sn->fd == sockfd) )
sn = _notifiers[type].next();
if ( !sn ) // not found
- return FALSE;
+ return false;
XtRemoveInput( sn->id );
_notifiers[type].remove();
}
- return TRUE;
+ return true;
}
#endif