comparison dwt/DWT.d @ 2:354c569b57a9

Changed some "== null" to "is null"
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 19 Aug 2008 17:40:11 +0200
parents 8b48be5454ce
children f565d3a95c0a
comparison
equal deleted inserted replaced
1:8b48be5454ce 2:354c569b57a9
3786 if (cast(SWTError) throwable) throw cast(SWTError) throwable; 3786 if (cast(SWTError) throwable) throw cast(SWTError) throwable;
3787 if (cast(SWTException) throwable) throw cast(SWTException) throwable; 3787 if (cast(SWTException) throwable) throw cast(SWTException) throwable;
3788 } 3788 }
3789 3789
3790 String message = findErrorText (code); 3790 String message = findErrorText (code);
3791 if (detail != null) message += detail; 3791 if (detail !is null) message += detail;
3792 switch (code) { 3792 switch (code) {
3793 3793
3794 /* Illegal Arguments (non-fatal) */ 3794 /* Illegal Arguments (non-fatal) */
3795 case ERROR_NULL_ARGUMENT: 3795 case ERROR_NULL_ARGUMENT:
3796 case ERROR_CANNOT_BE_ZERO: 3796 case ERROR_CANNOT_BE_ZERO: