1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 23:04:15 +01:00

fixed lots of compile bugs in wtext.c and made a few api changes to it

This commit is contained in:
kojima
2000-07-05 04:16:53 +00:00
parent b50d6e566c
commit fcab535c38
5 changed files with 27 additions and 28 deletions

View File

@@ -5,7 +5,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
void
wAbort()
@@ -200,7 +200,7 @@ void parseToken(WMText *tPtr, char *token, short tk)
if(*img == '\"') { img[strlen(img)-1] = 0; iptr++;}
pixmap = WMCreatePixmapFromFile(scr, iptr);
chunk = (cfmt.actions.createPChunk)(pixmap, 0, False);
(cfmt.actions.insertChunk) (tPtr, chunk, itAppend);
(cfmt.actions.insertChunk) (tPtr, chunk, False);
printf("[%s]\n", iptr);
} } break; } } while(*(token++));
}