git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0263ce3
)
allow edittext without a font
author
kramm
<kramm>
Wed, 10 Dec 2008 17:07:18 +0000
(17:07 +0000)
committer
kramm
<kramm>
Wed, 10 Dec 2008 17:07:18 +0000
(17:07 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
34de7f8
..
3273d65
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-4422,9
+4422,10
@@
static void analyseArgumentsForCommand(char*command)
else
{
SWFFONT* font = dict_lookup(&fonts, lu(&args, "font"));
else
{
SWFFONT* font = dict_lookup(&fonts, lu(&args, "font"));
- if (!font)
- syntaxerror("font %s is not known in line %d", lu(&args, "font"), line);
- else
+ if (!font) {
+ //that's ok... it might be an edittext with a system font
+ //syntaxerror("font %s is not known in line %d", lu(&args, "font"), line);
+ } else
if (font->use && !font->use->glyphs_specified)
{
if (!strcmp(command, "edittext"))
if (font->use && !font->use->glyphs_specified)
{
if (!strcmp(command, "edittext"))