libdraw: Fix GUI programs on AIX (#398)
This commit is contained in:
parent
6c4260fc67
commit
e9d8c45168
1 changed files with 4 additions and 0 deletions
|
|
@ -81,7 +81,11 @@ _string(Image *dst, Point pt, Image *src, Point sp, Font *f, char *s, Rune *r, i
|
|||
}else
|
||||
rptr = &r;
|
||||
sf = nil;
|
||||
#if defined(__AIX__)
|
||||
while((*s || *rptr) && len){
|
||||
#else
|
||||
while((*s || *r) && len){
|
||||
#endif
|
||||
max = Max;
|
||||
if(len < max)
|
||||
max = len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue