1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/x11/stjerm/files/patch-src_mainwindow.c
Pawel Pekala a78ba6ed0b - Update toversion 0.15
- Fix --toggle option by replacing the call pidof to pgrep

PR:		ports/161529
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2011-10-13 14:47:37 +00:00

12 lines
429 B
C

--- src/mainwindow.c~ 2011-07-19 16:52:33.000000000 -0500
+++ src/mainwindow.c 2011-10-12 17:26:33.324269165 -0500
@@ -322,7 +322,7 @@ void mainwindow_create_tab(void)
}
char buffer [100];
- sprintf(buffer, "%s %d", conf_get_term_name(), activetab + 1);
+ sprintf(buffer, "%s %d", conf_get_term_name(), tabcount);
GtkLabel* tmp_label = GTK_LABEL(gtk_label_new(buffer));
if(conf_get_opacity() < 100)