Gitweb links:
...log
http://git.netsurf-browser.org/libcss.git/shortlog/a1e9d6005dbc92821e996a4681d1c104ee92fd31
...commit
http://git.netsurf-browser.org/libcss.git/commit/a1e9d6005dbc92821e996a4681d1c104ee92fd31
...tree
http://git.netsurf-browser.org/libcss.git/tree/a1e9d6005dbc92821e996a4681d1c104ee92fd31
The branch, tlsa/lcneves/select-autogen has been updated
via a1e9d6005dbc92821e996a4681d1c104ee92fd31 (commit)
from 8af9f4a1dbcca9dbd2868ae1488adfd5011e470c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=a1e9d6005dbc92821e996a4681d1c104ee92fd31
commit a1e9d6005dbc92821e996a4681d1c104ee92fd31
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Selection: Autogenerated propset: Fix release of previous strings.
diff --git a/src/select/select_generator.py b/src/select/select_generator.py
index c6a03de..f87c929 100644
--- a/src/select/select_generator.py
+++ b/src/select/select_generator.py
@@ -641,9 +641,9 @@ class CSSGroup:
old_t, old_n_shift = shift_star(v.type, old_n)
if v.name is 'string':
- t.append('{} {} = style{}->{}{} = {};'.format(
+ t.append('{} {} = style{}->{}{};'.format(
old_t, old_n_shift,
- grp, i_dot, p.name + v.suffix, v.name + v.suffix))
+ grp, i_dot, p.name + v.suffix))
t.append()
t.append('if ({} != NULL) {{'.format(v.name + v.suffix))
t.indent(1)
-----------------------------------------------------------------------
Summary of changes:
src/select/select_generator.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/select/select_generator.py b/src/select/select_generator.py
index c6a03de..f87c929 100644
--- a/src/select/select_generator.py
+++ b/src/select/select_generator.py
@@ -641,9 +641,9 @@ class CSSGroup:
old_t, old_n_shift = shift_star(v.type, old_n)
if v.name is 'string':
- t.append('{} {} = style{}->{}{} = {};'.format(
+ t.append('{} {} = style{}->{}{};'.format(
old_t, old_n_shift,
- grp, i_dot, p.name + v.suffix, v.name + v.suffix))
+ grp, i_dot, p.name + v.suffix))
t.append()
t.append('if ({} != NULL) {{'.format(v.name + v.suffix))
t.indent(1)
--
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org