mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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…
Reference in a new issue