aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--config.h.in3
-rw-r--r--src/html.cc10
3 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 5736db10..e35e4b21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -113,6 +113,7 @@ dillo-2.1 [Jun 15, 2009]
- Fixed a memory leak in Klist().
- Fix the comment for DLWin::del() (dpi/downloads.cc).
- Removed redundant caller NULL checks already in the API.
+ - Fixed a bug in w3c_mode. In fact it wasn't working at all.
Patches: Jeremy Henty
+- Implemented Basic authentication!
Patch: Jeremy Henty, Jorge Arellano Cid
diff --git a/config.h.in b/config.h.in
index 767c86e4..54501855 100644
--- a/config.h.in
+++ b/config.h.in
@@ -78,6 +78,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
diff --git a/src/html.cc b/src/html.cc
index 51ac1543..f58da4eb 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1317,12 +1317,10 @@ static void Html_tag_cleanup_at_close(DilloHtml *html, int TagIdx)
stack_idx = html->stack->size() - 1;
while (stack_idx &&
(cmp = (new_idx != html->stack->getRef(stack_idx)->tag_idx)) &&
- ((w3c_mode &&
- Tags[html->stack->getRef(stack_idx)->tag_idx].EndTag == 'O') ||
- ((!w3c_mode &&
- (Tags[html->stack->getRef(stack_idx)->tag_idx].EndTag == 'O')) ||
- Tags[html->stack->getRef(stack_idx)->tag_idx].TagLevel <
- Tags[new_idx].TagLevel))) {
+ (Tags[html->stack->getRef(stack_idx)->tag_idx].EndTag == 'O' ||
+ (!w3c_mode &&
+ Tags[html->stack->getRef(stack_idx)->tag_idx].TagLevel <
+ Tags[new_idx].TagLevel))) {
--stack_idx;
}