libdraw: Fix GUI programs on AIX (#398)
This commit is contained in:
parent
6c4260fc67
commit
e9d8c45168
@ -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…
Reference in New Issue
Block a user