[libcroco] Fix typos



commit e1facb1e7e8a0568774a1630c1a8621679635ef5
Author: Markus Engel <p637777 aol com>
Date:   Mon Mar 24 20:29:00 2014 +0000

    Fix typos
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726993

 src/cr-style.c |    2 +-
 src/cr-tknzr.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cr-style.c b/src/cr-style.c
index 3233415..50e6006 100644
--- a/src/cr-style.c
+++ b/src/cr-style.c
@@ -1676,7 +1676,7 @@ set_prop_white_space_from_value (CRStyle * a_style, CRTerm * a_value)
                                a_style->white_space = WHITE_SPACE_NORMAL;
                        } else if (!strcmp (a_value->content.str->stryng->str, 
                                             "pre")) {
-                               a_style->font_weight = WHITE_SPACE_PRE;
+                               a_style->white_space = WHITE_SPACE_PRE;
                        } else if (!strcmp (a_value->content.str->stryng->str,
                                             "nowrap")) {
                                a_style->white_space = WHITE_SPACE_NOWRAP;
diff --git a/src/cr-tknzr.c b/src/cr-tknzr.c
index 6fc04a6..2d507f2 100644
--- a/src/cr-tknzr.c
+++ b/src/cr-tknzr.c
@@ -2381,7 +2381,7 @@ cr_tknzr_get_next_token (CRTknzr * a_this, CRToken ** a_tk)
                                 next_bytes[0] = BYTE (input, 1, NULL);
                                 next_bytes[1] = BYTE (input, 2, NULL);
                                 next_bytes[2] = BYTE (input, 3, NULL);
-                                next_bytes[3] = BYTE (input, 3, NULL);
+                                next_bytes[3] = BYTE (input, 4, NULL);
 
                                 if (next_bytes[0] == 'e'
                                     && next_bytes[1] == 'm') {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]