Changeset 185:026ce3b05f57
- Timestamp:
- 03/10/08 11:56:34
(10 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Label allows setText with null arg
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r180 |
r185 |
|
| 395 | 395 | public void setText (char[] string) { |
|---|
| 396 | 396 | checkWidget (); |
|---|
| 397 | | // DWT extension: allow null for zero length string |
|---|
| 398 | | //if (string is null) error (DWT.ERROR_NULL_ARGUMENT); |
|---|
| | 397 | if (string is null) error (DWT.ERROR_NULL_ARGUMENT); |
|---|
| 399 | 398 | if ((style & DWT.SEPARATOR) !is 0) return; |
|---|
| 400 | 399 | /* |
|---|