[libcroco] Fix cr_input_consume_white_spaces to behave as documented
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] Fix cr_input_consume_white_spaces to behave as documented
- Date: Sun, 1 Nov 2015 10:18:28 +0000 (UTC)
commit 5fd302372e568810ff6eda6a6babbe04543a2116
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Tue Aug 5 08:28:07 2014 +0000
Fix cr_input_consume_white_spaces to behave as documented
https://bugzilla.gnome.org/show_bug.cgi?id=710076
src/cr-input.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/cr-input.c b/src/cr-input.c
index 5395ae2..732068a 100644
--- a/src/cr-input.c
+++ b/src/cr-input.c
@@ -722,6 +722,8 @@ cr_input_consume_white_spaces (CRInput * a_this, gulong * a_nb_chars)
}
+ *a_nb_chars = (gulong) nb_consumed;
+
if (nb_consumed && status == CR_END_OF_INPUT_ERROR) {
status = CR_OK;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]