Mercurial > projects > dwt-mac
diff dwt/dnd/DND.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | 370410b7852f |
children |
line wrap: on
line diff
--- a/dwt/dnd/DND.d Wed Dec 31 21:01:13 2008 +0100 +++ b/dwt/dnd/DND.d Thu Jan 15 23:08:54 2009 +0100 @@ -270,17 +270,17 @@ } case DND.ERROR_CANNOT_INIT_DROP:{ String msg = DND.INIT_DROP_MESSAGE; - if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$ throw new DWTError (code, msg); } case DND.ERROR_CANNOT_SET_CLIPBOARD:{ String msg = DND.CANNOT_SET_CLIPBOARD_MESSAGE; - if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$ throw new DWTError (code, msg); } case DND.ERROR_INVALID_DATA:{ String msg = DND.INVALID_DATA_MESSAGE; - if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ + if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$ throw new DWTException (code, msg); }