projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fcb1c
)
support empty includes
author
tsauerbeck
<tsauerbeck>
Mon, 13 Feb 2006 18:20:26 +0000
(18:20 +0000)
committer
tsauerbeck
<tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 13 Feb 2006 18:20:26 +0000
(18:20 +0000)
SVN revision: 20438
legacy/edje/src/bin/edje_decc.c
patch
|
blob
|
history
diff --git
a/legacy/edje/src/bin/edje_decc.c
b/legacy/edje/src/bin/edje_decc.c
index bd3eb9e46b376501c2508f6d054d215d445a577c..993cb8db686fbea708e7915c34db438ac252f02a 100644
(file)
--- a/
legacy/edje/src/bin/edje_decc.c
+++ b/
legacy/edje/src/bin/edje_decc.c
@@
-221,7
+221,11
@@
output(void)
printf("ERROR: unable to write file (%s).\n", out);
exit (-1);
}
- fputs(sf->file, f);
+
+ /* if the file is empty, sf->file will be NULL.
+ * note that that's not an error
+ */
+ if (sf->file) fputs(sf->file, f);
fclose(f);
}
if (fontlist)