mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +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 :=
|
HDRS :=
|
||||||
EXTDIRS := examples
|
EXTDIRS := examples
|
||||||
|
|
||||||
all: shared static
|
all: create shared static
|
||||||
for f in $(EXTDIRS); do $(MAKE) -C $$f all; done
|
for f in $(EXTDIRS); do $(MAKE) -C $$f all; done
|
||||||
|
|
||||||
include $(TARGET)/myhtml/Makefile.mk
|
include $(TARGET)/myhtml/Makefile.mk
|
||||||
@ -53,6 +53,9 @@ shared: $(OBJS) $(HDRS)
|
|||||||
static: shared
|
static: shared
|
||||||
$(AR) crus $(LIB_TMP)/lib$(LIBNAME)$(LIBSTATIC_POSTFIX).a $(OBJS)
|
$(AR) crus $(LIB_TMP)/lib$(LIBNAME)$(LIBSTATIC_POSTFIX).a $(OBJS)
|
||||||
|
|
||||||
|
create:
|
||||||
|
mkdir -p lib bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for f in $(EXTDIRS); do $(MAKE) -C $$f clean; done
|
for f in $(EXTDIRS); do $(MAKE) -C $$f clean; done
|
||||||
rm -f $(OBJS)
|
rm -f $(OBJS)
|
||||||
@ -62,7 +65,7 @@ clean:
|
|||||||
clean_include:
|
clean_include:
|
||||||
rm -rf $(INCLUDE_TMP)
|
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" -exec sed -i '.bak' -E 's/^[ \t]*#[ \t]*include[ \t]*"([^"]+)"/#include <\1>/g' {} \;
|
||||||
find include -name "*.h.bak" -exec rm -f {} \;
|
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) {
|
while(selector) {
|
||||||
if(selector->combinator == MyCSS_SELECTORS_COMBINATOR_DESCENDANT)
|
if(selector->combinator == MyCSS_SELECTORS_COMBINATOR_DESCENDANT)
|
||||||
fprintf(fh, " ");
|
fprintf(fh, " ");
|
||||||
else if(selector->combinator == MyCSS_SELECTORS_COMBINATOR_UNDEF)
|
|
||||||
fprintf(fh, "");
|
|
||||||
else
|
else
|
||||||
fprintf(fh, " %s ", mycss_selectors_resource_combinator_names_map[ selector->combinator ]);
|
fprintf(fh, " %s ", mycss_selectors_resource_combinator_names_map[ selector->combinator ]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user