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:
@@ -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++));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user