diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-12-09 15:37:06 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-12-09 15:37:06 +0000 |
commit | a80501353b7ef05be4fdafbe8bff6a981d42a97e (patch) | |
tree | 38b0bb8a7658bdbede836dec016c37cd81b9d88d /x11-terms/gnome-terminal/files | |
parent | Marking culmus-0.102 and culmus-0.102-r1 ~ppc64 for bug 168331 (diff) | |
download | gentoo-2-a80501353b7ef05be4fdafbe8bff6a981d42a97e.tar.gz gentoo-2-a80501353b7ef05be4fdafbe8bff6a981d42a97e.tar.bz2 gentoo-2-a80501353b7ef05be4fdafbe8bff6a981d42a97e.zip |
Fix patch to not crash in certain situations with >10 tabs
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r3 x86_64)
Diffstat (limited to 'x11-terms/gnome-terminal/files')
-rw-r--r-- | x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch index 04f067591c68..adc81ffa8f32 100644 --- a/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch +++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch @@ -98,9 +98,8 @@ Index: src/terminal-tabs-menu.c #define LABEL_WIDTH_CHARS 32 #define ACTION_VERB_FORMAT_PREFIX "JmpTab" -#define ACTION_VERB_FORMAT_PREFIX_LEN (6) /* strlen (ACTION_VERB_FORMAT_PREFIX) */ --#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%x" +#define ACTION_VERB_FORMAT_PREFIX_LEN strlen (ACTION_VERB_FORMAT_PREFIX) -+#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%u" + #define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%x" #define ACTION_VERB_FORMAT_LENGTH strlen (ACTION_VERB_FORMAT) + 14 + 1 #define ACTION_VERB_FORMAT_BASE (16) /* %x is hex */ -#define ACCEL_PATH_FORMAT "<Actions>/TabsActions/%s" |