Build fixes for AROS.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@794 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-05-10 07:26:09 +00:00
parent 4a051bb820
commit 23a72b39ee
2 changed files with 8 additions and 1 deletions

View File

@@ -273,7 +273,11 @@ void bstrtostr( BSTR in, STRPTR out, TEXT max )
if( max > iptr[0] ) max = iptr[0];
#if defined(__AROS__)
for ( i=0 ; i<max ; i++ ) out[i] = *(AROS_BSTR_ADDR(iptr+i));
#else
for( i=0; i<max; i++ ) out[i] = iptr[i+1];
#endif
out[i] = 0;
}
#endif