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
|
}else
|
||||||
rptr = &r;
|
rptr = &r;
|
||||||
sf = nil;
|
sf = nil;
|
||||||
|
#if defined(__AIX__)
|
||||||
|
while((*s || *rptr) && len){
|
||||||
|
#else
|
||||||
while((*s || *r) && len){
|
while((*s || *r) && len){
|
||||||
|
#endif
|
||||||
max = Max;
|
max = Max;
|
||||||
if(len < max)
|
if(len < max)
|
||||||
max = len;
|
max = len;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user