projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patches by Hans Breuer:
[platform/upstream/glib.git]
/
gmarkup.c
diff --git
a/gmarkup.c
b/gmarkup.c
index
3df39b9
..
4606491
100644
(file)
--- a/
gmarkup.c
+++ b/
gmarkup.c
@@
-778,7
+778,7
@@
find_current_text_end (GMarkupParseContext *context)
const gchar *p;
const gchar *next;
- g_assert (
p != end
);
+ g_assert (
context->current_text_len > 0
);
p = context->current_text;
next = g_utf8_find_next_char (p, end);