projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63d3b1
)
[HB] Save edit even if not writeable
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 5 Aug 2009 01:47:29 +0000
(21:47 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 5 Aug 2009 01:47:29 +0000
(21:47 -0400)
pango/opentype/hb-open-types-private.hh
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-open-types-private.hh
b/pango/opentype/hb-open-types-private.hh
index
05619df
..
e922e27
100644
(file)
--- a/
pango/opentype/hb-open-types-private.hh
+++ b/
pango/opentype/hb-open-types-private.hh
@@
-232,10
+232,8
@@
_hb_sanitize_fini (hb_sanitize_context_t *context,
static HB_GNUC_UNUSED bool
_hb_sanitize_edit (hb_sanitize_context_t *context)
{
- bool perm = hb_blob_try_writeable_inplace (context->blob);
- if (perm)
- context->edit_count++;
- return perm;
+ context->edit_count++;
+ return hb_blob_try_writeable_inplace (context->blob);
}
#define SANITIZE_ARG_DEF \