aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-12-06 04:54:16 +0800
committerChristian Persch <chpe@src.gnome.org>2005-12-06 04:54:16 +0800
commit0909f0bd898d34e4204d8b90426d598e65b646ef (patch)
tree205875d6df664657ea9180cf0db494b3f1896862 /src
parent480b4fa6a806a5e73d8842c75544c453acaf6c0a (diff)
downloadgsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar.gz
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar.bz2
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar.lz
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar.xz
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.tar.zst
gsoc2013-epiphany-0909f0bd898d34e4204d8b90426d598e65b646ef.zip
Use sizeof() here.
2005-12-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Use sizeof() here.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tabs-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c
index 90d6b91ed..98a0cfeca 100644
--- a/src/ephy-tabs-menu.c
+++ b/src/ephy-tabs-menu.c
@@ -385,7 +385,7 @@ tab_set_action_accelerator (GtkActionGroup *action_group,
accel_key = 0;
accel_number = (tab_number + 1) % 10;
- g_snprintf (accel, 7, "<alt>%d", accel_number);
+ g_snprintf (accel, sizeof (accel), "<alt>%d", accel_number);
gtk_accelerator_parse (accel, &accel_key, &accel_mods);