diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-19 13:36:13 +1000 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-11-02 14:41:20 -0500 |
commit | f83d78dd2801c7e4bee406379d3119f8852cf297 (patch) | |
tree | 72322bd80d992ead5359ed70faeeac1ae6a73a20 /src/fe-gtk/xtext.c | |
parent | 9fb4eb5107a133a4c0492f11f02cdeb014042786 (diff) |
Warning cleanup
- ignoring const - declarations after statements - some C files didnt include own headers (risking them getting out of sync) Closes #1064
Diffstat (limited to 'src/fe-gtk/xtext.c')
-rw-r--r-- | src/fe-gtk/xtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 7b0e64c6..63b87ce8 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -3257,7 +3257,7 @@ gtk_xtext_render_stamp (GtkXText * xtext, textentry * ent, { textentry tmp_ent; int jo, ji, hs; - int xsize, y; + int xsize, y, emphasis; /* trashing ent here, so make a backup first */ memcpy (&tmp_ent, ent, sizeof (tmp_ent)); @@ -3267,7 +3267,7 @@ gtk_xtext_render_stamp (GtkXText * xtext, textentry * ent, xtext->jump_out_offset = 0; xtext->jump_in_offset = 0; xtext->hilight_start = 0xffff; /* temp disable */ - int emphasis = 0; + emphasis = 0; if (xtext->mark_stamp) { |