mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
fixed fprintf(fh, "") error
This commit is contained in:
parent
3ebddad1ce
commit
4d4f319026
7
Makefile
7
Makefile
@ -38,7 +38,7 @@ SRCS :=
|
||||
HDRS :=
|
||||
EXTDIRS := examples
|
||||
|
||||
all: shared static
|
||||
all: create shared static
|
||||
for f in $(EXTDIRS); do $(MAKE) -C $$f all; done
|
||||
|
||||
include $(TARGET)/myhtml/Makefile.mk
|
||||
@ -53,6 +53,9 @@ shared: $(OBJS) $(HDRS)
|
||||
static: shared
|
||||
$(AR) crus $(LIB_TMP)/lib$(LIBNAME)$(LIBSTATIC_POSTFIX).a $(OBJS)
|
||||
|
||||
create:
|
||||
mkdir -p lib bin
|
||||
|
||||
clean:
|
||||
for f in $(EXTDIRS); do $(MAKE) -C $$f clean; done
|
||||
rm -f $(OBJS)
|
||||
@ -62,7 +65,7 @@ clean:
|
||||
clean_include:
|
||||
rm -rf $(INCLUDE_TMP)
|
||||
|
||||
clone: clean_include myhtml_clone mycss_clone modest_clone
|
||||
clone: create clean_include myhtml_clone mycss_clone modest_clone
|
||||
find include -name "*.h" -exec sed -i '.bak' -E 's/^[ \t]*#[ \t]*include[ \t]*"([^"]+)"/#include <\1>/g' {} \;
|
||||
find include -name "*.h.bak" -exec rm -f {} \;
|
||||
|
||||
|
Binary file not shown.
@ -425,8 +425,6 @@ void mycss_selectors_print_chain(mycss_selectors_t* selectors, mycss_selectors_e
|
||||
while(selector) {
|
||||
if(selector->combinator == MyCSS_SELECTORS_COMBINATOR_DESCENDANT)
|
||||
fprintf(fh, " ");
|
||||
else if(selector->combinator == MyCSS_SELECTORS_COMBINATOR_UNDEF)
|
||||
fprintf(fh, "");
|
||||
else
|
||||
fprintf(fh, " %s ", mycss_selectors_resource_combinator_names_map[ selector->combinator ]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user