diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-09-04 06:22:28 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-09-04 06:25:06 +0200 |
| commit | 1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed (patch) | |
| tree | 31587c790320eef390e5224dba943966036673d2 /render | |
| parent | c12d09bde85e40fdfbb36225a1b596b5f27c2335 (diff) | |
Fix shadowed variables
Diffstat (limited to 'render')
| -rw-r--r-- | render/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/font.c b/render/font.c index 8d389d8b..356b9c6e 100644 --- a/render/font.c +++ b/render/font.c @@ -278,11 +278,11 @@ void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area) c.pixel = t->color->pixel; if (t->shortcut) { - const gchar *c = t->string + t->shortcut_pos; + const gchar *s = t->string + t->shortcut_pos; t->font->shortcut_underline->start_index = t->shortcut_pos; t->font->shortcut_underline->end_index = t->shortcut_pos + - (g_utf8_next_char(c) - c); + (g_utf8_next_char(s) - s); /* the attributes are owned by the layout. re-add the attributes to the layout after changing the |
